<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>hashcat-3.201: H:/TDDownload/Hashcat v3.20/hashcat-3.201/src/cpu_aes.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">hashcat-3.201
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_06fe396e3e859736df6d43ad26baa72e.html">hashcat-3.201</a></li><li class="navelem"><a class="el" href="dir_9ce3dfc5d638c7f8b2c4ec0f6627771b.html">src</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">cpu_aes.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;common.h&quot;</code><br />
<code>#include &quot;types.h&quot;</code><br />
<code>#include &quot;bitops.h&quot;</code><br />
<code>#include &quot;inc_hash_constants.h&quot;</code><br />
<code>#include &quot;inc_hash_functions.cl&quot;</code><br />
<code>#include &quot;cpu_aes.h&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for cpu_aes.c:</div>
<div class="dyncontent">
<div class="center"><img src="cpu__aes_8c__incl.gif" border="0" usemap="#_h_1_2_t_d_download_2_hashcat_01v3_820_2hashcat-3_8201_2src_2cpu__aes_8c" alt=""/></div>
<map name="_h_1_2_t_d_download_2_hashcat_01v3_820_2hashcat-3_8201_2src_2cpu__aes_8c" id="_h_1_2_t_d_download_2_hashcat_01v3_820_2hashcat-3_8201_2src_2cpu__aes_8c">
<area shape="rect"  title=" " alt="" coords="221,5,384,61"/>
<area shape="rect"  title=" " alt="" coords="5,109,88,136"/>
<area shape="rect"  title=" " alt="" coords="113,109,178,136"/>
<area shape="rect"  title=" " alt="" coords="202,109,270,136"/>
<area shape="rect"  title=" " alt="" coords="295,109,444,136"/>
<area shape="rect"  title=" " alt="" coords="468,109,615,136"/>
<area shape="rect"  title=" " alt="" coords="639,109,721,136"/>
</map>
</div>
</div>
<p><a href="cpu__aes_8c_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a32009cf6c828eac65c9d48b2a0863cbe"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cpu__aes_8c.html#a32009cf6c828eac65c9d48b2a0863cbe">IS_GENERIC</a></td></tr>
<tr class="separator:a32009cf6c828eac65c9d48b2a0863cbe"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a85cad27d2b8e0825743e1a3fa9cf9495"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cpu__aes_8c.html#a85cad27d2b8e0825743e1a3fa9cf9495">AES128_ExpandKey</a> (const u32 *userkey, u32 *rek)</td></tr>
<tr class="separator:a85cad27d2b8e0825743e1a3fa9cf9495"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d4f985e71b46b56ebef6605b0131eb0"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cpu__aes_8c.html#a5d4f985e71b46b56ebef6605b0131eb0">AES128_InvertKey</a> (u32 *rdk)</td></tr>
<tr class="separator:a5d4f985e71b46b56ebef6605b0131eb0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2abc0376835c0bf94005a2ca8c02d22a"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cpu__aes_8c.html#a2abc0376835c0bf94005a2ca8c02d22a">AES128_encrypt</a> (const u32 *in, u32 *out, const u32 *rek)</td></tr>
<tr class="separator:a2abc0376835c0bf94005a2ca8c02d22a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2447147d067d16f360deb84a10a82bd9"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cpu__aes_8c.html#a2447147d067d16f360deb84a10a82bd9">AES128_decrypt</a> (const u32 *in, u32 *out, const u32 *rdk)</td></tr>
<tr class="separator:a2447147d067d16f360deb84a10a82bd9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2343721a7729fdf1d2862ecf94175486"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cpu__aes_8c.html#a2343721a7729fdf1d2862ecf94175486">AES256_ExpandKey</a> (const u32 *userkey, u32 *rek)</td></tr>
<tr class="separator:a2343721a7729fdf1d2862ecf94175486"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5df01a65da03f2dcce2c4eaf91a00bfc"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cpu__aes_8c.html#a5df01a65da03f2dcce2c4eaf91a00bfc">AES256_InvertKey</a> (u32 *rdk)</td></tr>
<tr class="separator:a5df01a65da03f2dcce2c4eaf91a00bfc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a39a856b5b90919bb4ca19c6192bbc8e1"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cpu__aes_8c.html#a39a856b5b90919bb4ca19c6192bbc8e1">AES256_encrypt</a> (const u32 *in, u32 *out, const u32 *rek)</td></tr>
<tr class="separator:a39a856b5b90919bb4ca19c6192bbc8e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b2311272dadc9dda7b2927a362d5132"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cpu__aes_8c.html#a2b2311272dadc9dda7b2927a362d5132">AES256_decrypt</a> (const u32 *in, u32 *out, const u32 *rdk)</td></tr>
<tr class="separator:a2b2311272dadc9dda7b2927a362d5132"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef0b794a5238227924fb5898cb8e93c3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cpu__aes_8c.html#aef0b794a5238227924fb5898cb8e93c3">AES_set_encrypt_key</a> (const u8 *key, int keysize, AES_KEY *aes_key)</td></tr>
<tr class="separator:aef0b794a5238227924fb5898cb8e93c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:add596e4998215dc0db9c79a5fc13da80"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cpu__aes_8c.html#add596e4998215dc0db9c79a5fc13da80">AES_set_decrypt_key</a> (const u8 *key, int keysize, AES_KEY *aes_key)</td></tr>
<tr class="separator:add596e4998215dc0db9c79a5fc13da80"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae8ae782c02c3599f297a3fd16ef6aaa3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cpu__aes_8c.html#ae8ae782c02c3599f297a3fd16ef6aaa3">AES_encrypt</a> (AES_KEY *aes_key, const u8 *input, u8 *output)</td></tr>
<tr class="separator:ae8ae782c02c3599f297a3fd16ef6aaa3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a87b4c9852a4f0da9860dec99079bb2fa"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cpu__aes_8c.html#a87b4c9852a4f0da9860dec99079bb2fa">AES_decrypt</a> (AES_KEY *aes_key, const u8 *input, u8 *output)</td></tr>
<tr class="separator:a87b4c9852a4f0da9860dec99079bb2fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a65e37d05b00017f7d0c6fcd3b82746f2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cpu__aes_8c.html#a65e37d05b00017f7d0c6fcd3b82746f2">AES128_decrypt_cbc</a> (const u32 key[4], const u32 iv[4], const u32 in[16], u32 out[16])</td></tr>
<tr class="separator:a65e37d05b00017f7d0c6fcd3b82746f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:abe6d8315cda39b19867a4d01c989159f"><td class="memItemLeft" align="right" valign="top">static const u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a> [256]</td></tr>
<tr class="separator:abe6d8315cda39b19867a4d01c989159f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b98e3995706b271f5764fe9dd7e944e"><td class="memItemLeft" align="right" valign="top">static const u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a> [256]</td></tr>
<tr class="separator:a1b98e3995706b271f5764fe9dd7e944e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5ae162342c1d68fcc758c7b18a1dd9f"><td class="memItemLeft" align="right" valign="top">static const u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a> [256]</td></tr>
<tr class="separator:ad5ae162342c1d68fcc758c7b18a1dd9f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb73c312ee40a4209626d4f21c468143"><td class="memItemLeft" align="right" valign="top">static const u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a> [256]</td></tr>
<tr class="separator:abb73c312ee40a4209626d4f21c468143"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa7a0b1d08a8186fb1e04559a24be830"><td class="memItemLeft" align="right" valign="top">static const u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cpu__aes_8c.html#afa7a0b1d08a8186fb1e04559a24be830">te4</a> [256]</td></tr>
<tr class="separator:afa7a0b1d08a8186fb1e04559a24be830"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb971dc857523f03da15f6c15e739b1b"><td class="memItemLeft" align="right" valign="top">static const u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a> [256]</td></tr>
<tr class="separator:abb971dc857523f03da15f6c15e739b1b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a16e7fe9e1bae06f027ba12f3eb57fa45"><td class="memItemLeft" align="right" valign="top">static const u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a> [256]</td></tr>
<tr class="separator:a16e7fe9e1bae06f027ba12f3eb57fa45"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7fd70190b852028c9496bd3dd0eaae15"><td class="memItemLeft" align="right" valign="top">static const u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a> [256]</td></tr>
<tr class="separator:a7fd70190b852028c9496bd3dd0eaae15"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af43aa5a19ee0e0f3fd612018fc4b4954"><td class="memItemLeft" align="right" valign="top">static const u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a> [256]</td></tr>
<tr class="separator:af43aa5a19ee0e0f3fd612018fc4b4954"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa1b05bd5f09a45fcccef57007582c215"><td class="memItemLeft" align="right" valign="top">static const u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cpu__aes_8c.html#aa1b05bd5f09a45fcccef57007582c215">td4</a> [256]</td></tr>
<tr class="separator:aa1b05bd5f09a45fcccef57007582c215"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a142c09d3037444398e473812dde20e1e"><td class="memItemLeft" align="right" valign="top">static const u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cpu__aes_8c.html#a142c09d3037444398e473812dde20e1e">rcon</a> []</td></tr>
<tr class="separator:a142c09d3037444398e473812dde20e1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="a32009cf6c828eac65c9d48b2a0863cbe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a32009cf6c828eac65c9d48b2a0863cbe">&#9670;&nbsp;</a></span>IS_GENERIC</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define IS_GENERIC</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Author......: See docs/credits.txt License.....: MIT </p>

<p class="definition">Definition at line <a class="el" href="cpu__aes_8c_source.html#l00006">6</a> of file <a class="el" href="cpu__aes_8c_source.html">cpu_aes.c</a>.</p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="a2447147d067d16f360deb84a10a82bd9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2447147d067d16f360deb84a10a82bd9">&#9670;&nbsp;</a></span>AES128_decrypt()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void AES128_decrypt </td>
          <td>(</td>
          <td class="paramtype">const u32 *&#160;</td>
          <td class="paramname"><em>in</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32 *&#160;</td>
          <td class="paramname"><em>out</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const u32 *&#160;</td>
          <td class="paramname"><em>rdk</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="cpu__aes_8c_source.html#l00869">869</a> of file <a class="el" href="cpu__aes_8c_source.html">cpu_aes.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00870"></a><span class="lineno">  870</span>&#160;{</div><div class="line"><a name="l00871"></a><span class="lineno">  871</span>&#160;  u32 in_s[4];</div><div class="line"><a name="l00872"></a><span class="lineno">  872</span>&#160;</div><div class="line"><a name="l00873"></a><span class="lineno">  873</span>&#160;  in_s[0] = <a class="code" href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53">byte_swap_32</a> (in[0]);</div><div class="line"><a name="l00874"></a><span class="lineno">  874</span>&#160;  in_s[1] = <a class="code" href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53">byte_swap_32</a> (in[1]);</div><div class="line"><a name="l00875"></a><span class="lineno">  875</span>&#160;  in_s[2] = <a class="code" href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53">byte_swap_32</a> (in[2]);</div><div class="line"><a name="l00876"></a><span class="lineno">  876</span>&#160;  in_s[3] = <a class="code" href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53">byte_swap_32</a> (in[3]);</div><div class="line"><a name="l00877"></a><span class="lineno">  877</span>&#160;</div><div class="line"><a name="l00878"></a><span class="lineno">  878</span>&#160;  u32 s0 = in_s[0] ^ rdk[0];</div><div class="line"><a name="l00879"></a><span class="lineno">  879</span>&#160;  u32 s1 = in_s[1] ^ rdk[1];</div><div class="line"><a name="l00880"></a><span class="lineno">  880</span>&#160;  u32 s2 = in_s[2] ^ rdk[2];</div><div class="line"><a name="l00881"></a><span class="lineno">  881</span>&#160;  u32 s3 = in_s[3] ^ rdk[3];</div><div class="line"><a name="l00882"></a><span class="lineno">  882</span>&#160;</div><div class="line"><a name="l00883"></a><span class="lineno">  883</span>&#160;  u32 t0;</div><div class="line"><a name="l00884"></a><span class="lineno">  884</span>&#160;  u32 t1;</div><div class="line"><a name="l00885"></a><span class="lineno">  885</span>&#160;  u32 t2;</div><div class="line"><a name="l00886"></a><span class="lineno">  886</span>&#160;  u32 t3;</div><div class="line"><a name="l00887"></a><span class="lineno">  887</span>&#160;</div><div class="line"><a name="l00888"></a><span class="lineno">  888</span>&#160;  t0 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[s0 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(s3 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(s2 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[s1 &amp; 0xff] ^ rdk[ 4];</div><div class="line"><a name="l00889"></a><span class="lineno">  889</span>&#160;  t1 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[s1 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(s0 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(s3 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[s2 &amp; 0xff] ^ rdk[ 5];</div><div class="line"><a name="l00890"></a><span class="lineno">  890</span>&#160;  t2 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[s2 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(s1 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(s0 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[s3 &amp; 0xff] ^ rdk[ 6];</div><div class="line"><a name="l00891"></a><span class="lineno">  891</span>&#160;  t3 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[s3 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(s2 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(s1 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[s0 &amp; 0xff] ^ rdk[ 7];</div><div class="line"><a name="l00892"></a><span class="lineno">  892</span>&#160;  s0 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[t0 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(t3 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(t2 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[t1 &amp; 0xff] ^ rdk[ 8];</div><div class="line"><a name="l00893"></a><span class="lineno">  893</span>&#160;  s1 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[t1 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(t0 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(t3 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[t2 &amp; 0xff] ^ rdk[ 9];</div><div class="line"><a name="l00894"></a><span class="lineno">  894</span>&#160;  s2 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[t2 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(t1 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(t0 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[t3 &amp; 0xff] ^ rdk[10];</div><div class="line"><a name="l00895"></a><span class="lineno">  895</span>&#160;  s3 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[t3 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(t2 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(t1 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[t0 &amp; 0xff] ^ rdk[11];</div><div class="line"><a name="l00896"></a><span class="lineno">  896</span>&#160;  t0 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[s0 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(s3 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(s2 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[s1 &amp; 0xff] ^ rdk[12];</div><div class="line"><a name="l00897"></a><span class="lineno">  897</span>&#160;  t1 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[s1 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(s0 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(s3 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[s2 &amp; 0xff] ^ rdk[13];</div><div class="line"><a name="l00898"></a><span class="lineno">  898</span>&#160;  t2 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[s2 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(s1 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(s0 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[s3 &amp; 0xff] ^ rdk[14];</div><div class="line"><a name="l00899"></a><span class="lineno">  899</span>&#160;  t3 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[s3 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(s2 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(s1 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[s0 &amp; 0xff] ^ rdk[15];</div><div class="line"><a name="l00900"></a><span class="lineno">  900</span>&#160;  s0 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[t0 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(t3 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(t2 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[t1 &amp; 0xff] ^ rdk[16];</div><div class="line"><a name="l00901"></a><span class="lineno">  901</span>&#160;  s1 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[t1 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(t0 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(t3 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[t2 &amp; 0xff] ^ rdk[17];</div><div class="line"><a name="l00902"></a><span class="lineno">  902</span>&#160;  s2 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[t2 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(t1 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(t0 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[t3 &amp; 0xff] ^ rdk[18];</div><div class="line"><a name="l00903"></a><span class="lineno">  903</span>&#160;  s3 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[t3 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(t2 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(t1 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[t0 &amp; 0xff] ^ rdk[19];</div><div class="line"><a name="l00904"></a><span class="lineno">  904</span>&#160;  t0 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[s0 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(s3 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(s2 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[s1 &amp; 0xff] ^ rdk[20];</div><div class="line"><a name="l00905"></a><span class="lineno">  905</span>&#160;  t1 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[s1 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(s0 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(s3 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[s2 &amp; 0xff] ^ rdk[21];</div><div class="line"><a name="l00906"></a><span class="lineno">  906</span>&#160;  t2 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[s2 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(s1 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(s0 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[s3 &amp; 0xff] ^ rdk[22];</div><div class="line"><a name="l00907"></a><span class="lineno">  907</span>&#160;  t3 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[s3 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(s2 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(s1 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[s0 &amp; 0xff] ^ rdk[23];</div><div class="line"><a name="l00908"></a><span class="lineno">  908</span>&#160;  s0 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[t0 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(t3 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(t2 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[t1 &amp; 0xff] ^ rdk[24];</div><div class="line"><a name="l00909"></a><span class="lineno">  909</span>&#160;  s1 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[t1 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(t0 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(t3 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[t2 &amp; 0xff] ^ rdk[25];</div><div class="line"><a name="l00910"></a><span class="lineno">  910</span>&#160;  s2 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[t2 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(t1 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(t0 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[t3 &amp; 0xff] ^ rdk[26];</div><div class="line"><a name="l00911"></a><span class="lineno">  911</span>&#160;  s3 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[t3 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(t2 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(t1 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[t0 &amp; 0xff] ^ rdk[27];</div><div class="line"><a name="l00912"></a><span class="lineno">  912</span>&#160;  t0 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[s0 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(s3 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(s2 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[s1 &amp; 0xff] ^ rdk[28];</div><div class="line"><a name="l00913"></a><span class="lineno">  913</span>&#160;  t1 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[s1 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(s0 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(s3 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[s2 &amp; 0xff] ^ rdk[29];</div><div class="line"><a name="l00914"></a><span class="lineno">  914</span>&#160;  t2 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[s2 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(s1 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(s0 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[s3 &amp; 0xff] ^ rdk[30];</div><div class="line"><a name="l00915"></a><span class="lineno">  915</span>&#160;  t3 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[s3 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(s2 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(s1 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[s0 &amp; 0xff] ^ rdk[31];</div><div class="line"><a name="l00916"></a><span class="lineno">  916</span>&#160;  s0 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[t0 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(t3 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(t2 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[t1 &amp; 0xff] ^ rdk[32];</div><div class="line"><a name="l00917"></a><span class="lineno">  917</span>&#160;  s1 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[t1 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(t0 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(t3 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[t2 &amp; 0xff] ^ rdk[33];</div><div class="line"><a name="l00918"></a><span class="lineno">  918</span>&#160;  s2 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[t2 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(t1 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(t0 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[t3 &amp; 0xff] ^ rdk[34];</div><div class="line"><a name="l00919"></a><span class="lineno">  919</span>&#160;  s3 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[t3 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(t2 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(t1 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[t0 &amp; 0xff] ^ rdk[35];</div><div class="line"><a name="l00920"></a><span class="lineno">  920</span>&#160;  t0 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[s0 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(s3 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(s2 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[s1 &amp; 0xff] ^ rdk[36];</div><div class="line"><a name="l00921"></a><span class="lineno">  921</span>&#160;  t1 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[s1 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(s0 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(s3 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[s2 &amp; 0xff] ^ rdk[37];</div><div class="line"><a name="l00922"></a><span class="lineno">  922</span>&#160;  t2 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[s2 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(s1 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(s0 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[s3 &amp; 0xff] ^ rdk[38];</div><div class="line"><a name="l00923"></a><span class="lineno">  923</span>&#160;  t3 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[s3 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(s2 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(s1 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[s0 &amp; 0xff] ^ rdk[39];</div><div class="line"><a name="l00924"></a><span class="lineno">  924</span>&#160;</div><div class="line"><a name="l00925"></a><span class="lineno">  925</span>&#160;  out[0] = (<a class="code" href="cpu__aes_8c.html#aa1b05bd5f09a45fcccef57007582c215">td4</a>[(t0 &gt;&gt; 24) &amp; 0xff] &amp; 0xff000000)</div><div class="line"><a name="l00926"></a><span class="lineno">  926</span>&#160;         ^ (<a class="code" href="cpu__aes_8c.html#aa1b05bd5f09a45fcccef57007582c215">td4</a>[(t3 &gt;&gt; 16) &amp; 0xff] &amp; 0x00ff0000)</div><div class="line"><a name="l00927"></a><span class="lineno">  927</span>&#160;         ^ (<a class="code" href="cpu__aes_8c.html#aa1b05bd5f09a45fcccef57007582c215">td4</a>[(t2 &gt;&gt;  8) &amp; 0xff] &amp; 0x0000ff00)</div><div class="line"><a name="l00928"></a><span class="lineno">  928</span>&#160;         ^ (<a class="code" href="cpu__aes_8c.html#aa1b05bd5f09a45fcccef57007582c215">td4</a>[(t1 &gt;&gt;  0) &amp; 0xff] &amp; 0x000000ff)</div><div class="line"><a name="l00929"></a><span class="lineno">  929</span>&#160;         ^ rdk[40];</div><div class="line"><a name="l00930"></a><span class="lineno">  930</span>&#160;</div><div class="line"><a name="l00931"></a><span class="lineno">  931</span>&#160;  out[1] = (<a class="code" href="cpu__aes_8c.html#aa1b05bd5f09a45fcccef57007582c215">td4</a>[(t1 &gt;&gt; 24) &amp; 0xff] &amp; 0xff000000)</div><div class="line"><a name="l00932"></a><span class="lineno">  932</span>&#160;         ^ (<a class="code" href="cpu__aes_8c.html#aa1b05bd5f09a45fcccef57007582c215">td4</a>[(t0 &gt;&gt; 16) &amp; 0xff] &amp; 0x00ff0000)</div><div class="line"><a name="l00933"></a><span class="lineno">  933</span>&#160;         ^ (<a class="code" href="cpu__aes_8c.html#aa1b05bd5f09a45fcccef57007582c215">td4</a>[(t3 &gt;&gt;  8) &amp; 0xff] &amp; 0x0000ff00)</div><div class="line"><a name="l00934"></a><span class="lineno">  934</span>&#160;         ^ (<a class="code" href="cpu__aes_8c.html#aa1b05bd5f09a45fcccef57007582c215">td4</a>[(t2 &gt;&gt;  0) &amp; 0xff] &amp; 0x000000ff)</div><div class="line"><a name="l00935"></a><span class="lineno">  935</span>&#160;         ^ rdk[41];</div><div class="line"><a name="l00936"></a><span class="lineno">  936</span>&#160;</div><div class="line"><a name="l00937"></a><span class="lineno">  937</span>&#160;  out[2] = (<a class="code" href="cpu__aes_8c.html#aa1b05bd5f09a45fcccef57007582c215">td4</a>[(t2 &gt;&gt; 24) &amp; 0xff] &amp; 0xff000000)</div><div class="line"><a name="l00938"></a><span class="lineno">  938</span>&#160;         ^ (<a class="code" href="cpu__aes_8c.html#aa1b05bd5f09a45fcccef57007582c215">td4</a>[(t1 &gt;&gt; 16) &amp; 0xff] &amp; 0x00ff0000)</div><div class="line"><a name="l00939"></a><span class="lineno">  939</span>&#160;         ^ (<a class="code" href="cpu__aes_8c.html#aa1b05bd5f09a45fcccef57007582c215">td4</a>[(t0 &gt;&gt;  8) &amp; 0xff] &amp; 0x0000ff00)</div><div class="line"><a name="l00940"></a><span class="lineno">  940</span>&#160;         ^ (<a class="code" href="cpu__aes_8c.html#aa1b05bd5f09a45fcccef57007582c215">td4</a>[(t3 &gt;&gt;  0) &amp; 0xff] &amp; 0x000000ff)</div><div class="line"><a name="l00941"></a><span class="lineno">  941</span>&#160;         ^ rdk[42];</div><div class="line"><a name="l00942"></a><span class="lineno">  942</span>&#160;</div><div class="line"><a name="l00943"></a><span class="lineno">  943</span>&#160;  out[3] = (<a class="code" href="cpu__aes_8c.html#aa1b05bd5f09a45fcccef57007582c215">td4</a>[(t3 &gt;&gt; 24) &amp; 0xff] &amp; 0xff000000)</div><div class="line"><a name="l00944"></a><span class="lineno">  944</span>&#160;         ^ (<a class="code" href="cpu__aes_8c.html#aa1b05bd5f09a45fcccef57007582c215">td4</a>[(t2 &gt;&gt; 16) &amp; 0xff] &amp; 0x00ff0000)</div><div class="line"><a name="l00945"></a><span class="lineno">  945</span>&#160;         ^ (<a class="code" href="cpu__aes_8c.html#aa1b05bd5f09a45fcccef57007582c215">td4</a>[(t1 &gt;&gt;  8) &amp; 0xff] &amp; 0x0000ff00)</div><div class="line"><a name="l00946"></a><span class="lineno">  946</span>&#160;         ^ (<a class="code" href="cpu__aes_8c.html#aa1b05bd5f09a45fcccef57007582c215">td4</a>[(t0 &gt;&gt;  0) &amp; 0xff] &amp; 0x000000ff)</div><div class="line"><a name="l00947"></a><span class="lineno">  947</span>&#160;         ^ rdk[43];</div><div class="line"><a name="l00948"></a><span class="lineno">  948</span>&#160;</div><div class="line"><a name="l00949"></a><span class="lineno">  949</span>&#160;  out[0] = <a class="code" href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53">byte_swap_32</a> (out[0]);</div><div class="line"><a name="l00950"></a><span class="lineno">  950</span>&#160;  out[1] = <a class="code" href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53">byte_swap_32</a> (out[1]);</div><div class="line"><a name="l00951"></a><span class="lineno">  951</span>&#160;  out[2] = <a class="code" href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53">byte_swap_32</a> (out[2]);</div><div class="line"><a name="l00952"></a><span class="lineno">  952</span>&#160;  out[3] = <a class="code" href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53">byte_swap_32</a> (out[3]);</div><div class="line"><a name="l00953"></a><span class="lineno">  953</span>&#160;}</div><div class="ttc" id="cpu__aes_8c_html_af43aa5a19ee0e0f3fd612018fc4b4954"><div class="ttname"><a href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a></div><div class="ttdeci">static const u32 td3[256]</div><div class="ttdef"><b>Definition:</b> <a href="cpu__aes_8c_source.html#l00559">cpu_aes.c:559</a></div></div>
<div class="ttc" id="bitops_8c_html_a3a1120031ebc424b1407f5ac127bea53"><div class="ttname"><a href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53">byte_swap_32</a></div><div class="ttdeci">u32 byte_swap_32(const u32 n)</div><div class="ttdef"><b>Definition:</b> <a href="bitops_8c_source.html#l00046">bitops.c:46</a></div></div>
<div class="ttc" id="cpu__aes_8c_html_a16e7fe9e1bae06f027ba12f3eb57fa45"><div class="ttname"><a href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a></div><div class="ttdeci">static const u32 td1[256]</div><div class="ttdef"><b>Definition:</b> <a href="cpu__aes_8c_source.html#l00423">cpu_aes.c:423</a></div></div>
<div class="ttc" id="cpu__aes_8c_html_a7fd70190b852028c9496bd3dd0eaae15"><div class="ttname"><a href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a></div><div class="ttdeci">static const u32 td2[256]</div><div class="ttdef"><b>Definition:</b> <a href="cpu__aes_8c_source.html#l00491">cpu_aes.c:491</a></div></div>
<div class="ttc" id="cpu__aes_8c_html_abb971dc857523f03da15f6c15e739b1b"><div class="ttname"><a href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a></div><div class="ttdeci">static const u32 td0[256]</div><div class="ttdef"><b>Definition:</b> <a href="cpu__aes_8c_source.html#l00355">cpu_aes.c:355</a></div></div>
<div class="ttc" id="cpu__aes_8c_html_aa1b05bd5f09a45fcccef57007582c215"><div class="ttname"><a href="cpu__aes_8c.html#aa1b05bd5f09a45fcccef57007582c215">td4</a></div><div class="ttdeci">static const u32 td4[256]</div><div class="ttdef"><b>Definition:</b> <a href="cpu__aes_8c_source.html#l00627">cpu_aes.c:627</a></div></div>
</div><!-- fragment -->
<p class="reference">References <a class="el" href="bitops_8c_source.html#l00046">byte_swap_32()</a>, <a class="el" href="cpu__aes_8c_source.html#l00355">td0</a>, <a class="el" href="cpu__aes_8c_source.html#l00423">td1</a>, <a class="el" href="cpu__aes_8c_source.html#l00491">td2</a>, <a class="el" href="cpu__aes_8c_source.html#l00559">td3</a>, and <a class="el" href="cpu__aes_8c_source.html#l00627">td4</a>.</p>

<p class="reference">Referenced by <a class="el" href="cpu__aes_8c_source.html#l01308">AES_decrypt()</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="cpu__aes_8c_a2447147d067d16f360deb84a10a82bd9_cgraph.gif" border="0" usemap="#cpu__aes_8c_a2447147d067d16f360deb84a10a82bd9_cgraph" alt=""/></div>
<map name="cpu__aes_8c_a2447147d067d16f360deb84a10a82bd9_cgraph" id="cpu__aes_8c_a2447147d067d16f360deb84a10a82bd9_cgraph">
<area shape="rect"  title=" " alt="" coords="5,5,125,32"/>
<area shape="rect"  href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53" title=" " alt="" coords="173,5,279,32"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="cpu__aes_8c_a2447147d067d16f360deb84a10a82bd9_icgraph.gif" border="0" usemap="#cpu__aes_8c_a2447147d067d16f360deb84a10a82bd9_icgraph" alt=""/></div>
<map name="cpu__aes_8c_a2447147d067d16f360deb84a10a82bd9_icgraph" id="cpu__aes_8c_a2447147d067d16f360deb84a10a82bd9_icgraph">
<area shape="rect"  title=" " alt="" coords="541,5,661,32"/>
<area shape="rect"  href="cpu__aes_8c.html#a87b4c9852a4f0da9860dec99079bb2fa" title=" " alt="" coords="395,5,493,32"/>
<area shape="rect"  href="cpu__aes_8c.html#a65e37d05b00017f7d0c6fcd3b82746f2" title=" " alt="" coords="199,5,347,32"/>
<area shape="rect"  href="interface_8c.html#a665f1535d028c08e85a988055d5516f3" title=" " alt="" coords="5,5,151,32"/>
</map>
</div>

</div>
</div>
<a id="a65e37d05b00017f7d0c6fcd3b82746f2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a65e37d05b00017f7d0c6fcd3b82746f2">&#9670;&nbsp;</a></span>AES128_decrypt_cbc()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void AES128_decrypt_cbc </td>
          <td>(</td>
          <td class="paramtype">const u32&#160;</td>
          <td class="paramname"><em>key</em>[4], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const u32&#160;</td>
          <td class="paramname"><em>iv</em>[4], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const u32&#160;</td>
          <td class="paramname"><em>in</em>[16], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>out</em>[16]&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="cpu__aes_8c_source.html#l01322">1322</a> of file <a class="el" href="cpu__aes_8c_source.html">cpu_aes.c</a>.</p>
<div class="fragment"><div class="line"><a name="l01323"></a><span class="lineno"> 1323</span>&#160;{</div><div class="line"><a name="l01324"></a><span class="lineno"> 1324</span>&#160;  AES_KEY skey;</div><div class="line"><a name="l01325"></a><span class="lineno"> 1325</span>&#160;</div><div class="line"><a name="l01326"></a><span class="lineno"> 1326</span>&#160;  <a class="code" href="cpu__aes_8c.html#add596e4998215dc0db9c79a5fc13da80">AES_set_decrypt_key</a> ((<span class="keyword">const</span> u8 *) key, 128, &amp;skey);</div><div class="line"><a name="l01327"></a><span class="lineno"> 1327</span>&#160;</div><div class="line"><a name="l01328"></a><span class="lineno"> 1328</span>&#160;  u32 _iv[4] = { 0 };</div><div class="line"><a name="l01329"></a><span class="lineno"> 1329</span>&#160;</div><div class="line"><a name="l01330"></a><span class="lineno"> 1330</span>&#160;  _iv[0] = iv[0];</div><div class="line"><a name="l01331"></a><span class="lineno"> 1331</span>&#160;  _iv[1] = iv[1];</div><div class="line"><a name="l01332"></a><span class="lineno"> 1332</span>&#160;  _iv[2] = iv[2];</div><div class="line"><a name="l01333"></a><span class="lineno"> 1333</span>&#160;  _iv[3] = iv[3];</div><div class="line"><a name="l01334"></a><span class="lineno"> 1334</span>&#160;</div><div class="line"><a name="l01335"></a><span class="lineno"> 1335</span>&#160;  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; 16; i += 4)</div><div class="line"><a name="l01336"></a><span class="lineno"> 1336</span>&#160;  {</div><div class="line"><a name="l01337"></a><span class="lineno"> 1337</span>&#160;    u32 _in[4] = { 0 };</div><div class="line"><a name="l01338"></a><span class="lineno"> 1338</span>&#160;    u32 _out[4] = { 0 };</div><div class="line"><a name="l01339"></a><span class="lineno"> 1339</span>&#160;</div><div class="line"><a name="l01340"></a><span class="lineno"> 1340</span>&#160;    _in[0] = in[i + 0];</div><div class="line"><a name="l01341"></a><span class="lineno"> 1341</span>&#160;    _in[1] = in[i + 1];</div><div class="line"><a name="l01342"></a><span class="lineno"> 1342</span>&#160;    _in[2] = in[i + 2];</div><div class="line"><a name="l01343"></a><span class="lineno"> 1343</span>&#160;    _in[3] = in[i + 3];</div><div class="line"><a name="l01344"></a><span class="lineno"> 1344</span>&#160;</div><div class="line"><a name="l01345"></a><span class="lineno"> 1345</span>&#160;    <a class="code" href="cpu__aes_8c.html#a87b4c9852a4f0da9860dec99079bb2fa">AES_decrypt</a> (&amp;skey, (<span class="keyword">const</span> u8 *) _in, (u8 *) _out);</div><div class="line"><a name="l01346"></a><span class="lineno"> 1346</span>&#160;</div><div class="line"><a name="l01347"></a><span class="lineno"> 1347</span>&#160;    _out[0] ^= _iv[0];</div><div class="line"><a name="l01348"></a><span class="lineno"> 1348</span>&#160;    _out[1] ^= _iv[1];</div><div class="line"><a name="l01349"></a><span class="lineno"> 1349</span>&#160;    _out[2] ^= _iv[2];</div><div class="line"><a name="l01350"></a><span class="lineno"> 1350</span>&#160;    _out[3] ^= _iv[3];</div><div class="line"><a name="l01351"></a><span class="lineno"> 1351</span>&#160;</div><div class="line"><a name="l01352"></a><span class="lineno"> 1352</span>&#160;    out[i + 0] = _out[0];</div><div class="line"><a name="l01353"></a><span class="lineno"> 1353</span>&#160;    out[i + 1] = _out[1];</div><div class="line"><a name="l01354"></a><span class="lineno"> 1354</span>&#160;    out[i + 2] = _out[2];</div><div class="line"><a name="l01355"></a><span class="lineno"> 1355</span>&#160;    out[i + 3] = _out[3];</div><div class="line"><a name="l01356"></a><span class="lineno"> 1356</span>&#160;</div><div class="line"><a name="l01357"></a><span class="lineno"> 1357</span>&#160;    _iv[0] = _in[0];</div><div class="line"><a name="l01358"></a><span class="lineno"> 1358</span>&#160;    _iv[1] = _in[1];</div><div class="line"><a name="l01359"></a><span class="lineno"> 1359</span>&#160;    _iv[2] = _in[2];</div><div class="line"><a name="l01360"></a><span class="lineno"> 1360</span>&#160;    _iv[3] = _in[3];</div><div class="line"><a name="l01361"></a><span class="lineno"> 1361</span>&#160;  }</div><div class="line"><a name="l01362"></a><span class="lineno"> 1362</span>&#160;}</div><div class="ttc" id="cpu__aes_8c_html_a87b4c9852a4f0da9860dec99079bb2fa"><div class="ttname"><a href="cpu__aes_8c.html#a87b4c9852a4f0da9860dec99079bb2fa">AES_decrypt</a></div><div class="ttdeci">void AES_decrypt(AES_KEY *aes_key, const u8 *input, u8 *output)</div><div class="ttdef"><b>Definition:</b> <a href="cpu__aes_8c_source.html#l01308">cpu_aes.c:1308</a></div></div>
<div class="ttc" id="cpu__aes_8c_html_add596e4998215dc0db9c79a5fc13da80"><div class="ttname"><a href="cpu__aes_8c.html#add596e4998215dc0db9c79a5fc13da80">AES_set_decrypt_key</a></div><div class="ttdeci">void AES_set_decrypt_key(const u8 *key, int keysize, AES_KEY *aes_key)</div><div class="ttdef"><b>Definition:</b> <a href="cpu__aes_8c_source.html#l01278">cpu_aes.c:1278</a></div></div>
</div><!-- fragment -->
<p class="reference">References <a class="el" href="cpu__aes_8c_source.html#l01308">AES_decrypt()</a>, and <a class="el" href="cpu__aes_8c_source.html#l01278">AES_set_decrypt_key()</a>.</p>

<p class="reference">Referenced by <a class="el" href="interface_8c_source.html#l00349">juniper_decrypt_hash()</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="cpu__aes_8c_a65e37d05b00017f7d0c6fcd3b82746f2_cgraph.gif" border="0" usemap="#cpu__aes_8c_a65e37d05b00017f7d0c6fcd3b82746f2_cgraph" alt=""/></div>
<map name="cpu__aes_8c_a65e37d05b00017f7d0c6fcd3b82746f2_cgraph" id="cpu__aes_8c_a65e37d05b00017f7d0c6fcd3b82746f2_cgraph">
<area shape="rect"  title=" " alt="" coords="5,107,153,133"/>
<area shape="rect"  href="cpu__aes_8c.html#a87b4c9852a4f0da9860dec99079bb2fa" title=" " alt="" coords="228,56,327,83"/>
<area shape="rect"  href="cpu__aes_8c.html#add596e4998215dc0db9c79a5fc13da80" title=" " alt="" coords="201,157,353,184"/>
<area shape="rect"  href="cpu__aes_8c.html#a2447147d067d16f360deb84a10a82bd9" title=" " alt="" coords="413,5,533,32"/>
<area shape="rect"  href="cpu__aes_8c.html#a2b2311272dadc9dda7b2927a362d5132" title=" " alt="" coords="413,56,533,83"/>
<area shape="rect"  href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53" title=" " alt="" coords="593,81,699,108"/>
<area shape="rect"  href="cpu__aes_8c.html#a85cad27d2b8e0825743e1a3fa9cf9495" title=" " alt="" coords="401,107,545,133"/>
<area shape="rect"  href="cpu__aes_8c.html#a5d4f985e71b46b56ebef6605b0131eb0" title=" " alt="" coords="408,157,539,184"/>
<area shape="rect"  href="cpu__aes_8c.html#a2343721a7729fdf1d2862ecf94175486" title=" " alt="" coords="401,208,545,235"/>
<area shape="rect"  href="cpu__aes_8c.html#a5df01a65da03f2dcce2c4eaf91a00bfc" title=" " alt="" coords="408,259,539,285"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="cpu__aes_8c_a65e37d05b00017f7d0c6fcd3b82746f2_icgraph.gif" border="0" usemap="#cpu__aes_8c_a65e37d05b00017f7d0c6fcd3b82746f2_icgraph" alt=""/></div>
<map name="cpu__aes_8c_a65e37d05b00017f7d0c6fcd3b82746f2_icgraph" id="cpu__aes_8c_a65e37d05b00017f7d0c6fcd3b82746f2_icgraph">
<area shape="rect"  title=" " alt="" coords="199,5,347,32"/>
<area shape="rect"  href="interface_8c.html#a665f1535d028c08e85a988055d5516f3" title=" " alt="" coords="5,5,151,32"/>
</map>
</div>

</div>
</div>
<a id="a2abc0376835c0bf94005a2ca8c02d22a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2abc0376835c0bf94005a2ca8c02d22a">&#9670;&nbsp;</a></span>AES128_encrypt()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void AES128_encrypt </td>
          <td>(</td>
          <td class="paramtype">const u32 *&#160;</td>
          <td class="paramname"><em>in</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32 *&#160;</td>
          <td class="paramname"><em>out</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const u32 *&#160;</td>
          <td class="paramname"><em>rek</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="cpu__aes_8c_source.html#l00783">783</a> of file <a class="el" href="cpu__aes_8c_source.html">cpu_aes.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00784"></a><span class="lineno">  784</span>&#160;{</div><div class="line"><a name="l00785"></a><span class="lineno">  785</span>&#160;  u32 in_s[4];</div><div class="line"><a name="l00786"></a><span class="lineno">  786</span>&#160;</div><div class="line"><a name="l00787"></a><span class="lineno">  787</span>&#160;  in_s[0] = <a class="code" href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53">byte_swap_32</a> (in[0]);</div><div class="line"><a name="l00788"></a><span class="lineno">  788</span>&#160;  in_s[1] = <a class="code" href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53">byte_swap_32</a> (in[1]);</div><div class="line"><a name="l00789"></a><span class="lineno">  789</span>&#160;  in_s[2] = <a class="code" href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53">byte_swap_32</a> (in[2]);</div><div class="line"><a name="l00790"></a><span class="lineno">  790</span>&#160;  in_s[3] = <a class="code" href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53">byte_swap_32</a> (in[3]);</div><div class="line"><a name="l00791"></a><span class="lineno">  791</span>&#160;</div><div class="line"><a name="l00792"></a><span class="lineno">  792</span>&#160;  u32 s0 = in_s[0] ^ rek[0];</div><div class="line"><a name="l00793"></a><span class="lineno">  793</span>&#160;  u32 s1 = in_s[1] ^ rek[1];</div><div class="line"><a name="l00794"></a><span class="lineno">  794</span>&#160;  u32 s2 = in_s[2] ^ rek[2];</div><div class="line"><a name="l00795"></a><span class="lineno">  795</span>&#160;  u32 s3 = in_s[3] ^ rek[3];</div><div class="line"><a name="l00796"></a><span class="lineno">  796</span>&#160;</div><div class="line"><a name="l00797"></a><span class="lineno">  797</span>&#160;  u32 t0;</div><div class="line"><a name="l00798"></a><span class="lineno">  798</span>&#160;  u32 t1;</div><div class="line"><a name="l00799"></a><span class="lineno">  799</span>&#160;  u32 t2;</div><div class="line"><a name="l00800"></a><span class="lineno">  800</span>&#160;  u32 t3;</div><div class="line"><a name="l00801"></a><span class="lineno">  801</span>&#160;</div><div class="line"><a name="l00802"></a><span class="lineno">  802</span>&#160;  t0 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[s0 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(s1 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(s2 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[s3 &amp; 0xff] ^ rek[ 4];</div><div class="line"><a name="l00803"></a><span class="lineno">  803</span>&#160;  t1 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[s1 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(s2 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(s3 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[s0 &amp; 0xff] ^ rek[ 5];</div><div class="line"><a name="l00804"></a><span class="lineno">  804</span>&#160;  t2 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[s2 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(s3 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(s0 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[s1 &amp; 0xff] ^ rek[ 6];</div><div class="line"><a name="l00805"></a><span class="lineno">  805</span>&#160;  t3 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[s3 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(s0 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(s1 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[s2 &amp; 0xff] ^ rek[ 7];</div><div class="line"><a name="l00806"></a><span class="lineno">  806</span>&#160;  s0 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[t0 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(t1 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(t2 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[t3 &amp; 0xff] ^ rek[ 8];</div><div class="line"><a name="l00807"></a><span class="lineno">  807</span>&#160;  s1 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[t1 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(t2 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(t3 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[t0 &amp; 0xff] ^ rek[ 9];</div><div class="line"><a name="l00808"></a><span class="lineno">  808</span>&#160;  s2 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[t2 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(t3 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(t0 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[t1 &amp; 0xff] ^ rek[10];</div><div class="line"><a name="l00809"></a><span class="lineno">  809</span>&#160;  s3 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[t3 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(t0 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(t1 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[t2 &amp; 0xff] ^ rek[11];</div><div class="line"><a name="l00810"></a><span class="lineno">  810</span>&#160;  t0 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[s0 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(s1 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(s2 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[s3 &amp; 0xff] ^ rek[12];</div><div class="line"><a name="l00811"></a><span class="lineno">  811</span>&#160;  t1 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[s1 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(s2 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(s3 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[s0 &amp; 0xff] ^ rek[13];</div><div class="line"><a name="l00812"></a><span class="lineno">  812</span>&#160;  t2 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[s2 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(s3 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(s0 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[s1 &amp; 0xff] ^ rek[14];</div><div class="line"><a name="l00813"></a><span class="lineno">  813</span>&#160;  t3 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[s3 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(s0 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(s1 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[s2 &amp; 0xff] ^ rek[15];</div><div class="line"><a name="l00814"></a><span class="lineno">  814</span>&#160;  s0 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[t0 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(t1 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(t2 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[t3 &amp; 0xff] ^ rek[16];</div><div class="line"><a name="l00815"></a><span class="lineno">  815</span>&#160;  s1 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[t1 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(t2 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(t3 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[t0 &amp; 0xff] ^ rek[17];</div><div class="line"><a name="l00816"></a><span class="lineno">  816</span>&#160;  s2 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[t2 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(t3 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(t0 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[t1 &amp; 0xff] ^ rek[18];</div><div class="line"><a name="l00817"></a><span class="lineno">  817</span>&#160;  s3 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[t3 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(t0 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(t1 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[t2 &amp; 0xff] ^ rek[19];</div><div class="line"><a name="l00818"></a><span class="lineno">  818</span>&#160;  t0 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[s0 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(s1 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(s2 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[s3 &amp; 0xff] ^ rek[20];</div><div class="line"><a name="l00819"></a><span class="lineno">  819</span>&#160;  t1 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[s1 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(s2 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(s3 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[s0 &amp; 0xff] ^ rek[21];</div><div class="line"><a name="l00820"></a><span class="lineno">  820</span>&#160;  t2 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[s2 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(s3 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(s0 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[s1 &amp; 0xff] ^ rek[22];</div><div class="line"><a name="l00821"></a><span class="lineno">  821</span>&#160;  t3 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[s3 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(s0 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(s1 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[s2 &amp; 0xff] ^ rek[23];</div><div class="line"><a name="l00822"></a><span class="lineno">  822</span>&#160;  s0 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[t0 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(t1 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(t2 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[t3 &amp; 0xff] ^ rek[24];</div><div class="line"><a name="l00823"></a><span class="lineno">  823</span>&#160;  s1 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[t1 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(t2 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(t3 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[t0 &amp; 0xff] ^ rek[25];</div><div class="line"><a name="l00824"></a><span class="lineno">  824</span>&#160;  s2 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[t2 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(t3 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(t0 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[t1 &amp; 0xff] ^ rek[26];</div><div class="line"><a name="l00825"></a><span class="lineno">  825</span>&#160;  s3 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[t3 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(t0 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(t1 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[t2 &amp; 0xff] ^ rek[27];</div><div class="line"><a name="l00826"></a><span class="lineno">  826</span>&#160;  t0 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[s0 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(s1 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(s2 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[s3 &amp; 0xff] ^ rek[28];</div><div class="line"><a name="l00827"></a><span class="lineno">  827</span>&#160;  t1 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[s1 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(s2 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(s3 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[s0 &amp; 0xff] ^ rek[29];</div><div class="line"><a name="l00828"></a><span class="lineno">  828</span>&#160;  t2 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[s2 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(s3 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(s0 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[s1 &amp; 0xff] ^ rek[30];</div><div class="line"><a name="l00829"></a><span class="lineno">  829</span>&#160;  t3 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[s3 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(s0 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(s1 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[s2 &amp; 0xff] ^ rek[31];</div><div class="line"><a name="l00830"></a><span class="lineno">  830</span>&#160;  s0 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[t0 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(t1 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(t2 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[t3 &amp; 0xff] ^ rek[32];</div><div class="line"><a name="l00831"></a><span class="lineno">  831</span>&#160;  s1 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[t1 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(t2 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(t3 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[t0 &amp; 0xff] ^ rek[33];</div><div class="line"><a name="l00832"></a><span class="lineno">  832</span>&#160;  s2 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[t2 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(t3 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(t0 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[t1 &amp; 0xff] ^ rek[34];</div><div class="line"><a name="l00833"></a><span class="lineno">  833</span>&#160;  s3 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[t3 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(t0 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(t1 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[t2 &amp; 0xff] ^ rek[35];</div><div class="line"><a name="l00834"></a><span class="lineno">  834</span>&#160;  t0 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[s0 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(s1 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(s2 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[s3 &amp; 0xff] ^ rek[36];</div><div class="line"><a name="l00835"></a><span class="lineno">  835</span>&#160;  t1 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[s1 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(s2 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(s3 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[s0 &amp; 0xff] ^ rek[37];</div><div class="line"><a name="l00836"></a><span class="lineno">  836</span>&#160;  t2 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[s2 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(s3 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(s0 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[s1 &amp; 0xff] ^ rek[38];</div><div class="line"><a name="l00837"></a><span class="lineno">  837</span>&#160;  t3 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[s3 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(s0 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(s1 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[s2 &amp; 0xff] ^ rek[39];</div><div class="line"><a name="l00838"></a><span class="lineno">  838</span>&#160;</div><div class="line"><a name="l00839"></a><span class="lineno">  839</span>&#160;  out[0] = (<a class="code" href="cpu__aes_8c.html#afa7a0b1d08a8186fb1e04559a24be830">te4</a>[(t0 &gt;&gt; 24) &amp; 0xff] &amp; 0xff000000)</div><div class="line"><a name="l00840"></a><span class="lineno">  840</span>&#160;         ^ (<a class="code" href="cpu__aes_8c.html#afa7a0b1d08a8186fb1e04559a24be830">te4</a>[(t1 &gt;&gt; 16) &amp; 0xff] &amp; 0x00ff0000)</div><div class="line"><a name="l00841"></a><span class="lineno">  841</span>&#160;         ^ (<a class="code" href="cpu__aes_8c.html#afa7a0b1d08a8186fb1e04559a24be830">te4</a>[(t2 &gt;&gt;  8) &amp; 0xff] &amp; 0x0000ff00)</div><div class="line"><a name="l00842"></a><span class="lineno">  842</span>&#160;         ^ (<a class="code" href="cpu__aes_8c.html#afa7a0b1d08a8186fb1e04559a24be830">te4</a>[(t3 &gt;&gt;  0) &amp; 0xff] &amp; 0x000000ff)</div><div class="line"><a name="l00843"></a><span class="lineno">  843</span>&#160;         ^ rek[40];</div><div class="line"><a name="l00844"></a><span class="lineno">  844</span>&#160;</div><div class="line"><a name="l00845"></a><span class="lineno">  845</span>&#160;  out[1] = (<a class="code" href="cpu__aes_8c.html#afa7a0b1d08a8186fb1e04559a24be830">te4</a>[(t1 &gt;&gt; 24) &amp; 0xff] &amp; 0xff000000)</div><div class="line"><a name="l00846"></a><span class="lineno">  846</span>&#160;         ^ (<a class="code" href="cpu__aes_8c.html#afa7a0b1d08a8186fb1e04559a24be830">te4</a>[(t2 &gt;&gt; 16) &amp; 0xff] &amp; 0x00ff0000)</div><div class="line"><a name="l00847"></a><span class="lineno">  847</span>&#160;         ^ (<a class="code" href="cpu__aes_8c.html#afa7a0b1d08a8186fb1e04559a24be830">te4</a>[(t3 &gt;&gt;  8) &amp; 0xff] &amp; 0x0000ff00)</div><div class="line"><a name="l00848"></a><span class="lineno">  848</span>&#160;         ^ (<a class="code" href="cpu__aes_8c.html#afa7a0b1d08a8186fb1e04559a24be830">te4</a>[(t0 &gt;&gt;  0) &amp; 0xff] &amp; 0x000000ff)</div><div class="line"><a name="l00849"></a><span class="lineno">  849</span>&#160;         ^ rek[41];</div><div class="line"><a name="l00850"></a><span class="lineno">  850</span>&#160;</div><div class="line"><a name="l00851"></a><span class="lineno">  851</span>&#160;  out[2] = (<a class="code" href="cpu__aes_8c.html#afa7a0b1d08a8186fb1e04559a24be830">te4</a>[(t2 &gt;&gt; 24) &amp; 0xff] &amp; 0xff000000)</div><div class="line"><a name="l00852"></a><span class="lineno">  852</span>&#160;         ^ (<a class="code" href="cpu__aes_8c.html#afa7a0b1d08a8186fb1e04559a24be830">te4</a>[(t3 &gt;&gt; 16) &amp; 0xff] &amp; 0x00ff0000)</div><div class="line"><a name="l00853"></a><span class="lineno">  853</span>&#160;         ^ (<a class="code" href="cpu__aes_8c.html#afa7a0b1d08a8186fb1e04559a24be830">te4</a>[(t0 &gt;&gt;  8) &amp; 0xff] &amp; 0x0000ff00)</div><div class="line"><a name="l00854"></a><span class="lineno">  854</span>&#160;         ^ (<a class="code" href="cpu__aes_8c.html#afa7a0b1d08a8186fb1e04559a24be830">te4</a>[(t1 &gt;&gt;  0) &amp; 0xff] &amp; 0x000000ff)</div><div class="line"><a name="l00855"></a><span class="lineno">  855</span>&#160;         ^ rek[42];</div><div class="line"><a name="l00856"></a><span class="lineno">  856</span>&#160;</div><div class="line"><a name="l00857"></a><span class="lineno">  857</span>&#160;  out[3] = (<a class="code" href="cpu__aes_8c.html#afa7a0b1d08a8186fb1e04559a24be830">te4</a>[(t3 &gt;&gt; 24) &amp; 0xff] &amp; 0xff000000)</div><div class="line"><a name="l00858"></a><span class="lineno">  858</span>&#160;         ^ (<a class="code" href="cpu__aes_8c.html#afa7a0b1d08a8186fb1e04559a24be830">te4</a>[(t0 &gt;&gt; 16) &amp; 0xff] &amp; 0x00ff0000)</div><div class="line"><a name="l00859"></a><span class="lineno">  859</span>&#160;         ^ (<a class="code" href="cpu__aes_8c.html#afa7a0b1d08a8186fb1e04559a24be830">te4</a>[(t1 &gt;&gt;  8) &amp; 0xff] &amp; 0x0000ff00)</div><div class="line"><a name="l00860"></a><span class="lineno">  860</span>&#160;         ^ (<a class="code" href="cpu__aes_8c.html#afa7a0b1d08a8186fb1e04559a24be830">te4</a>[(t2 &gt;&gt;  0) &amp; 0xff] &amp; 0x000000ff)</div><div class="line"><a name="l00861"></a><span class="lineno">  861</span>&#160;         ^ rek[43];</div><div class="line"><a name="l00862"></a><span class="lineno">  862</span>&#160;</div><div class="line"><a name="l00863"></a><span class="lineno">  863</span>&#160;  out[0] = <a class="code" href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53">byte_swap_32</a> (out[0]);</div><div class="line"><a name="l00864"></a><span class="lineno">  864</span>&#160;  out[1] = <a class="code" href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53">byte_swap_32</a> (out[1]);</div><div class="line"><a name="l00865"></a><span class="lineno">  865</span>&#160;  out[2] = <a class="code" href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53">byte_swap_32</a> (out[2]);</div><div class="line"><a name="l00866"></a><span class="lineno">  866</span>&#160;  out[3] = <a class="code" href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53">byte_swap_32</a> (out[3]);</div><div class="line"><a name="l00867"></a><span class="lineno">  867</span>&#160;}</div><div class="ttc" id="cpu__aes_8c_html_ad5ae162342c1d68fcc758c7b18a1dd9f"><div class="ttname"><a href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a></div><div class="ttdeci">static const u32 te2[256]</div><div class="ttdef"><b>Definition:</b> <a href="cpu__aes_8c_source.html#l00151">cpu_aes.c:151</a></div></div>
<div class="ttc" id="bitops_8c_html_a3a1120031ebc424b1407f5ac127bea53"><div class="ttname"><a href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53">byte_swap_32</a></div><div class="ttdeci">u32 byte_swap_32(const u32 n)</div><div class="ttdef"><b>Definition:</b> <a href="bitops_8c_source.html#l00046">bitops.c:46</a></div></div>
<div class="ttc" id="cpu__aes_8c_html_abb73c312ee40a4209626d4f21c468143"><div class="ttname"><a href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a></div><div class="ttdeci">static const u32 te3[256]</div><div class="ttdef"><b>Definition:</b> <a href="cpu__aes_8c_source.html#l00219">cpu_aes.c:219</a></div></div>
<div class="ttc" id="cpu__aes_8c_html_afa7a0b1d08a8186fb1e04559a24be830"><div class="ttname"><a href="cpu__aes_8c.html#afa7a0b1d08a8186fb1e04559a24be830">te4</a></div><div class="ttdeci">static const u32 te4[256]</div><div class="ttdef"><b>Definition:</b> <a href="cpu__aes_8c_source.html#l00287">cpu_aes.c:287</a></div></div>
<div class="ttc" id="cpu__aes_8c_html_abe6d8315cda39b19867a4d01c989159f"><div class="ttname"><a href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a></div><div class="ttdeci">static const u32 te0[256]</div><div class="ttdef"><b>Definition:</b> <a href="cpu__aes_8c_source.html#l00015">cpu_aes.c:15</a></div></div>
<div class="ttc" id="cpu__aes_8c_html_a1b98e3995706b271f5764fe9dd7e944e"><div class="ttname"><a href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a></div><div class="ttdeci">static const u32 te1[256]</div><div class="ttdef"><b>Definition:</b> <a href="cpu__aes_8c_source.html#l00083">cpu_aes.c:83</a></div></div>
</div><!-- fragment -->
<p class="reference">References <a class="el" href="bitops_8c_source.html#l00046">byte_swap_32()</a>, <a class="el" href="cpu__aes_8c_source.html#l00015">te0</a>, <a class="el" href="cpu__aes_8c_source.html#l00083">te1</a>, <a class="el" href="cpu__aes_8c_source.html#l00151">te2</a>, <a class="el" href="cpu__aes_8c_source.html#l00219">te3</a>, and <a class="el" href="cpu__aes_8c_source.html#l00287">te4</a>.</p>

<p class="reference">Referenced by <a class="el" href="cpu__aes_8c_source.html#l01296">AES_encrypt()</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="cpu__aes_8c_a2abc0376835c0bf94005a2ca8c02d22a_cgraph.gif" border="0" usemap="#cpu__aes_8c_a2abc0376835c0bf94005a2ca8c02d22a_cgraph" alt=""/></div>
<map name="cpu__aes_8c_a2abc0376835c0bf94005a2ca8c02d22a_cgraph" id="cpu__aes_8c_a2abc0376835c0bf94005a2ca8c02d22a_cgraph">
<area shape="rect"  title=" " alt="" coords="5,5,125,32"/>
<area shape="rect"  href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53" title=" " alt="" coords="173,5,279,32"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="cpu__aes_8c_a2abc0376835c0bf94005a2ca8c02d22a_icgraph.gif" border="0" usemap="#cpu__aes_8c_a2abc0376835c0bf94005a2ca8c02d22a_icgraph" alt=""/></div>
<map name="cpu__aes_8c_a2abc0376835c0bf94005a2ca8c02d22a_icgraph" id="cpu__aes_8c_a2abc0376835c0bf94005a2ca8c02d22a_icgraph">
<area shape="rect"  title=" " alt="" coords="152,5,272,32"/>
<area shape="rect"  href="cpu__aes_8c.html#ae8ae782c02c3599f297a3fd16ef6aaa3" title=" " alt="" coords="5,5,104,32"/>
</map>
</div>

</div>
</div>
<a id="a85cad27d2b8e0825743e1a3fa9cf9495"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a85cad27d2b8e0825743e1a3fa9cf9495">&#9670;&nbsp;</a></span>AES128_ExpandKey()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void AES128_ExpandKey </td>
          <td>(</td>
          <td class="paramtype">const u32 *&#160;</td>
          <td class="paramname"><em>userkey</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32 *&#160;</td>
          <td class="paramname"><em>rek</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="cpu__aes_8c_source.html#l00704">704</a> of file <a class="el" href="cpu__aes_8c_source.html">cpu_aes.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00705"></a><span class="lineno">  705</span>&#160;{</div><div class="line"><a name="l00706"></a><span class="lineno">  706</span>&#160;  u32 userkey_s[4];</div><div class="line"><a name="l00707"></a><span class="lineno">  707</span>&#160;</div><div class="line"><a name="l00708"></a><span class="lineno">  708</span>&#160;  userkey_s[0] = <a class="code" href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53">byte_swap_32</a> (userkey[0]);</div><div class="line"><a name="l00709"></a><span class="lineno">  709</span>&#160;  userkey_s[1] = <a class="code" href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53">byte_swap_32</a> (userkey[1]);</div><div class="line"><a name="l00710"></a><span class="lineno">  710</span>&#160;  userkey_s[2] = <a class="code" href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53">byte_swap_32</a> (userkey[2]);</div><div class="line"><a name="l00711"></a><span class="lineno">  711</span>&#160;  userkey_s[3] = <a class="code" href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53">byte_swap_32</a> (userkey[3]);</div><div class="line"><a name="l00712"></a><span class="lineno">  712</span>&#160;</div><div class="line"><a name="l00713"></a><span class="lineno">  713</span>&#160;  rek[0] = userkey_s[0];</div><div class="line"><a name="l00714"></a><span class="lineno">  714</span>&#160;  rek[1] = userkey_s[1];</div><div class="line"><a name="l00715"></a><span class="lineno">  715</span>&#160;  rek[2] = userkey_s[2];</div><div class="line"><a name="l00716"></a><span class="lineno">  716</span>&#160;  rek[3] = userkey_s[3];</div><div class="line"><a name="l00717"></a><span class="lineno">  717</span>&#160;</div><div class="line"><a name="l00718"></a><span class="lineno">  718</span>&#160;  <span class="keywordtype">int</span> i;</div><div class="line"><a name="l00719"></a><span class="lineno">  719</span>&#160;  <span class="keywordtype">int</span> j;</div><div class="line"><a name="l00720"></a><span class="lineno">  720</span>&#160;</div><div class="line"><a name="l00721"></a><span class="lineno">  721</span>&#160;  <span class="keywordflow">for</span> (i = 0, j = 0; i &lt; 10; i += 1, j += 4)</div><div class="line"><a name="l00722"></a><span class="lineno">  722</span>&#160;  {</div><div class="line"><a name="l00723"></a><span class="lineno">  723</span>&#160;    u32 temp = rek[j + 3];</div><div class="line"><a name="l00724"></a><span class="lineno">  724</span>&#160;</div><div class="line"><a name="l00725"></a><span class="lineno">  725</span>&#160;    temp = (<a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(temp &gt;&gt; 16) &amp; 0xff] &amp; 0xff000000)</div><div class="line"><a name="l00726"></a><span class="lineno">  726</span>&#160;         ^ (<a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[(temp &gt;&gt;  8) &amp; 0xff] &amp; 0x00ff0000)</div><div class="line"><a name="l00727"></a><span class="lineno">  727</span>&#160;         ^ (<a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[(temp &gt;&gt;  0) &amp; 0xff] &amp; 0x0000ff00)</div><div class="line"><a name="l00728"></a><span class="lineno">  728</span>&#160;         ^ (<a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(temp &gt;&gt; 24) &amp; 0xff] &amp; 0x000000ff);</div><div class="line"><a name="l00729"></a><span class="lineno">  729</span>&#160;</div><div class="line"><a name="l00730"></a><span class="lineno">  730</span>&#160;    rek[j + 4] = rek[j + 0]</div><div class="line"><a name="l00731"></a><span class="lineno">  731</span>&#160;               ^ temp</div><div class="line"><a name="l00732"></a><span class="lineno">  732</span>&#160;               ^ <a class="code" href="cpu__aes_8c.html#a142c09d3037444398e473812dde20e1e">rcon</a>[i];</div><div class="line"><a name="l00733"></a><span class="lineno">  733</span>&#160;</div><div class="line"><a name="l00734"></a><span class="lineno">  734</span>&#160;    rek[j + 5] = rek[j + 1] ^ rek[j + 4];</div><div class="line"><a name="l00735"></a><span class="lineno">  735</span>&#160;    rek[j + 6] = rek[j + 2] ^ rek[j + 5];</div><div class="line"><a name="l00736"></a><span class="lineno">  736</span>&#160;    rek[j + 7] = rek[j + 3] ^ rek[j + 6];</div><div class="line"><a name="l00737"></a><span class="lineno">  737</span>&#160;  }</div><div class="line"><a name="l00738"></a><span class="lineno">  738</span>&#160;}</div><div class="ttc" id="cpu__aes_8c_html_a142c09d3037444398e473812dde20e1e"><div class="ttname"><a href="cpu__aes_8c.html#a142c09d3037444398e473812dde20e1e">rcon</a></div><div class="ttdeci">static const u32 rcon[]</div><div class="ttdef"><b>Definition:</b> <a href="cpu__aes_8c_source.html#l00695">cpu_aes.c:695</a></div></div>
<div class="ttc" id="cpu__aes_8c_html_ad5ae162342c1d68fcc758c7b18a1dd9f"><div class="ttname"><a href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a></div><div class="ttdeci">static const u32 te2[256]</div><div class="ttdef"><b>Definition:</b> <a href="cpu__aes_8c_source.html#l00151">cpu_aes.c:151</a></div></div>
<div class="ttc" id="bitops_8c_html_a3a1120031ebc424b1407f5ac127bea53"><div class="ttname"><a href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53">byte_swap_32</a></div><div class="ttdeci">u32 byte_swap_32(const u32 n)</div><div class="ttdef"><b>Definition:</b> <a href="bitops_8c_source.html#l00046">bitops.c:46</a></div></div>
<div class="ttc" id="cpu__aes_8c_html_abb73c312ee40a4209626d4f21c468143"><div class="ttname"><a href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a></div><div class="ttdeci">static const u32 te3[256]</div><div class="ttdef"><b>Definition:</b> <a href="cpu__aes_8c_source.html#l00219">cpu_aes.c:219</a></div></div>
<div class="ttc" id="cpu__aes_8c_html_abe6d8315cda39b19867a4d01c989159f"><div class="ttname"><a href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a></div><div class="ttdeci">static const u32 te0[256]</div><div class="ttdef"><b>Definition:</b> <a href="cpu__aes_8c_source.html#l00015">cpu_aes.c:15</a></div></div>
<div class="ttc" id="cpu__aes_8c_html_a1b98e3995706b271f5764fe9dd7e944e"><div class="ttname"><a href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a></div><div class="ttdeci">static const u32 te1[256]</div><div class="ttdef"><b>Definition:</b> <a href="cpu__aes_8c_source.html#l00083">cpu_aes.c:83</a></div></div>
</div><!-- fragment -->
<p class="reference">References <a class="el" href="bitops_8c_source.html#l00046">byte_swap_32()</a>, <a class="el" href="cpu__aes_8c_source.html#l00695">rcon</a>, <a class="el" href="cpu__aes_8c_source.html#l00015">te0</a>, <a class="el" href="cpu__aes_8c_source.html#l00083">te1</a>, <a class="el" href="cpu__aes_8c_source.html#l00151">te2</a>, and <a class="el" href="cpu__aes_8c_source.html#l00219">te3</a>.</p>

<p class="reference">Referenced by <a class="el" href="cpu__aes_8c_source.html#l01278">AES_set_decrypt_key()</a>, and <a class="el" href="cpu__aes_8c_source.html#l01264">AES_set_encrypt_key()</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="cpu__aes_8c_a85cad27d2b8e0825743e1a3fa9cf9495_cgraph.gif" border="0" usemap="#cpu__aes_8c_a85cad27d2b8e0825743e1a3fa9cf9495_cgraph" alt=""/></div>
<map name="cpu__aes_8c_a85cad27d2b8e0825743e1a3fa9cf9495_cgraph" id="cpu__aes_8c_a85cad27d2b8e0825743e1a3fa9cf9495_cgraph">
<area shape="rect"  title=" " alt="" coords="5,5,149,32"/>
<area shape="rect"  href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53" title=" " alt="" coords="197,5,303,32"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="cpu__aes_8c_a85cad27d2b8e0825743e1a3fa9cf9495_icgraph.gif" border="0" usemap="#cpu__aes_8c_a85cad27d2b8e0825743e1a3fa9cf9495_icgraph" alt=""/></div>
<map name="cpu__aes_8c_a85cad27d2b8e0825743e1a3fa9cf9495_icgraph" id="cpu__aes_8c_a85cad27d2b8e0825743e1a3fa9cf9495_icgraph">
<area shape="rect"  title=" " alt="" coords="595,31,739,57"/>
<area shape="rect"  href="cpu__aes_8c.html#add596e4998215dc0db9c79a5fc13da80" title=" " alt="" coords="395,5,547,32"/>
<area shape="rect"  href="cpu__aes_8c.html#aef0b794a5238227924fb5898cb8e93c3" title=" " alt="" coords="395,56,547,83"/>
<area shape="rect"  href="cpu__aes_8c.html#a65e37d05b00017f7d0c6fcd3b82746f2" title=" " alt="" coords="199,5,347,32"/>
<area shape="rect"  href="interface_8c.html#a665f1535d028c08e85a988055d5516f3" title=" " alt="" coords="5,5,151,32"/>
</map>
</div>

</div>
</div>
<a id="a5d4f985e71b46b56ebef6605b0131eb0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5d4f985e71b46b56ebef6605b0131eb0">&#9670;&nbsp;</a></span>AES128_InvertKey()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void AES128_InvertKey </td>
          <td>(</td>
          <td class="paramtype">u32 *&#160;</td>
          <td class="paramname"><em>rdk</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="cpu__aes_8c_source.html#l00740">740</a> of file <a class="el" href="cpu__aes_8c_source.html">cpu_aes.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00741"></a><span class="lineno">  741</span>&#160;{</div><div class="line"><a name="l00742"></a><span class="lineno">  742</span>&#160;  <span class="keywordtype">int</span> i;</div><div class="line"><a name="l00743"></a><span class="lineno">  743</span>&#160;  <span class="keywordtype">int</span> j;</div><div class="line"><a name="l00744"></a><span class="lineno">  744</span>&#160;</div><div class="line"><a name="l00745"></a><span class="lineno">  745</span>&#160;  <span class="keywordflow">for</span> (i = 0, j = 40; i &lt; j; i += 4, j -= 4)</div><div class="line"><a name="l00746"></a><span class="lineno">  746</span>&#160;  {</div><div class="line"><a name="l00747"></a><span class="lineno">  747</span>&#160;    u32 temp;</div><div class="line"><a name="l00748"></a><span class="lineno">  748</span>&#160;</div><div class="line"><a name="l00749"></a><span class="lineno">  749</span>&#160;    temp = rdk[i + 0]; rdk[i + 0] = rdk[j + 0]; rdk[j + 0] = temp;</div><div class="line"><a name="l00750"></a><span class="lineno">  750</span>&#160;    temp = rdk[i + 1]; rdk[i + 1] = rdk[j + 1]; rdk[j + 1] = temp;</div><div class="line"><a name="l00751"></a><span class="lineno">  751</span>&#160;    temp = rdk[i + 2]; rdk[i + 2] = rdk[j + 2]; rdk[j + 2] = temp;</div><div class="line"><a name="l00752"></a><span class="lineno">  752</span>&#160;    temp = rdk[i + 3]; rdk[i + 3] = rdk[j + 3]; rdk[j + 3] = temp;</div><div class="line"><a name="l00753"></a><span class="lineno">  753</span>&#160;  }</div><div class="line"><a name="l00754"></a><span class="lineno">  754</span>&#160;</div><div class="line"><a name="l00755"></a><span class="lineno">  755</span>&#160;  <span class="keywordflow">for</span> (i = 1, j = 4; i &lt; 10; i += 1, j += 4)</div><div class="line"><a name="l00756"></a><span class="lineno">  756</span>&#160;  {</div><div class="line"><a name="l00757"></a><span class="lineno">  757</span>&#160;    rdk[j + 0] =</div><div class="line"><a name="l00758"></a><span class="lineno">  758</span>&#160;      <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[<a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(rdk[j + 0] &gt;&gt; 24) &amp; 0xff] &amp; 0xff] ^</div><div class="line"><a name="l00759"></a><span class="lineno">  759</span>&#160;      <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[<a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(rdk[j + 0] &gt;&gt; 16) &amp; 0xff] &amp; 0xff] ^</div><div class="line"><a name="l00760"></a><span class="lineno">  760</span>&#160;      <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[<a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(rdk[j + 0] &gt;&gt;  8) &amp; 0xff] &amp; 0xff] ^</div><div class="line"><a name="l00761"></a><span class="lineno">  761</span>&#160;      <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[<a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(rdk[j + 0] &gt;&gt;  0) &amp; 0xff] &amp; 0xff];</div><div class="line"><a name="l00762"></a><span class="lineno">  762</span>&#160;</div><div class="line"><a name="l00763"></a><span class="lineno">  763</span>&#160;    rdk[j + 1] =</div><div class="line"><a name="l00764"></a><span class="lineno">  764</span>&#160;      <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[<a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(rdk[j + 1] &gt;&gt; 24) &amp; 0xff] &amp; 0xff] ^</div><div class="line"><a name="l00765"></a><span class="lineno">  765</span>&#160;      <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[<a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(rdk[j + 1] &gt;&gt; 16) &amp; 0xff] &amp; 0xff] ^</div><div class="line"><a name="l00766"></a><span class="lineno">  766</span>&#160;      <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[<a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(rdk[j + 1] &gt;&gt;  8) &amp; 0xff] &amp; 0xff] ^</div><div class="line"><a name="l00767"></a><span class="lineno">  767</span>&#160;      <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[<a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(rdk[j + 1] &gt;&gt;  0) &amp; 0xff] &amp; 0xff];</div><div class="line"><a name="l00768"></a><span class="lineno">  768</span>&#160;</div><div class="line"><a name="l00769"></a><span class="lineno">  769</span>&#160;    rdk[j + 2] =</div><div class="line"><a name="l00770"></a><span class="lineno">  770</span>&#160;      <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[<a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(rdk[j + 2] &gt;&gt; 24) &amp; 0xff] &amp; 0xff] ^</div><div class="line"><a name="l00771"></a><span class="lineno">  771</span>&#160;      <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[<a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(rdk[j + 2] &gt;&gt; 16) &amp; 0xff] &amp; 0xff] ^</div><div class="line"><a name="l00772"></a><span class="lineno">  772</span>&#160;      <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[<a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(rdk[j + 2] &gt;&gt;  8) &amp; 0xff] &amp; 0xff] ^</div><div class="line"><a name="l00773"></a><span class="lineno">  773</span>&#160;      <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[<a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(rdk[j + 2] &gt;&gt;  0) &amp; 0xff] &amp; 0xff];</div><div class="line"><a name="l00774"></a><span class="lineno">  774</span>&#160;</div><div class="line"><a name="l00775"></a><span class="lineno">  775</span>&#160;    rdk[j + 3] =</div><div class="line"><a name="l00776"></a><span class="lineno">  776</span>&#160;      <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[<a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(rdk[j + 3] &gt;&gt; 24) &amp; 0xff] &amp; 0xff] ^</div><div class="line"><a name="l00777"></a><span class="lineno">  777</span>&#160;      <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[<a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(rdk[j + 3] &gt;&gt; 16) &amp; 0xff] &amp; 0xff] ^</div><div class="line"><a name="l00778"></a><span class="lineno">  778</span>&#160;      <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[<a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(rdk[j + 3] &gt;&gt;  8) &amp; 0xff] &amp; 0xff] ^</div><div class="line"><a name="l00779"></a><span class="lineno">  779</span>&#160;      <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[<a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(rdk[j + 3] &gt;&gt;  0) &amp; 0xff] &amp; 0xff];</div><div class="line"><a name="l00780"></a><span class="lineno">  780</span>&#160;  }</div><div class="line"><a name="l00781"></a><span class="lineno">  781</span>&#160;}</div><div class="ttc" id="cpu__aes_8c_html_af43aa5a19ee0e0f3fd612018fc4b4954"><div class="ttname"><a href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a></div><div class="ttdeci">static const u32 td3[256]</div><div class="ttdef"><b>Definition:</b> <a href="cpu__aes_8c_source.html#l00559">cpu_aes.c:559</a></div></div>
<div class="ttc" id="cpu__aes_8c_html_a16e7fe9e1bae06f027ba12f3eb57fa45"><div class="ttname"><a href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a></div><div class="ttdeci">static const u32 td1[256]</div><div class="ttdef"><b>Definition:</b> <a href="cpu__aes_8c_source.html#l00423">cpu_aes.c:423</a></div></div>
<div class="ttc" id="cpu__aes_8c_html_a7fd70190b852028c9496bd3dd0eaae15"><div class="ttname"><a href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a></div><div class="ttdeci">static const u32 td2[256]</div><div class="ttdef"><b>Definition:</b> <a href="cpu__aes_8c_source.html#l00491">cpu_aes.c:491</a></div></div>
<div class="ttc" id="cpu__aes_8c_html_abb971dc857523f03da15f6c15e739b1b"><div class="ttname"><a href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a></div><div class="ttdeci">static const u32 td0[256]</div><div class="ttdef"><b>Definition:</b> <a href="cpu__aes_8c_source.html#l00355">cpu_aes.c:355</a></div></div>
<div class="ttc" id="cpu__aes_8c_html_a1b98e3995706b271f5764fe9dd7e944e"><div class="ttname"><a href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a></div><div class="ttdeci">static const u32 te1[256]</div><div class="ttdef"><b>Definition:</b> <a href="cpu__aes_8c_source.html#l00083">cpu_aes.c:83</a></div></div>
</div><!-- fragment -->
<p class="reference">References <a class="el" href="cpu__aes_8c_source.html#l00355">td0</a>, <a class="el" href="cpu__aes_8c_source.html#l00423">td1</a>, <a class="el" href="cpu__aes_8c_source.html#l00491">td2</a>, <a class="el" href="cpu__aes_8c_source.html#l00559">td3</a>, and <a class="el" href="cpu__aes_8c_source.html#l00083">te1</a>.</p>

<p class="reference">Referenced by <a class="el" href="cpu__aes_8c_source.html#l01278">AES_set_decrypt_key()</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="cpu__aes_8c_a5d4f985e71b46b56ebef6605b0131eb0_icgraph.gif" border="0" usemap="#cpu__aes_8c_a5d4f985e71b46b56ebef6605b0131eb0_icgraph" alt=""/></div>
<map name="cpu__aes_8c_a5d4f985e71b46b56ebef6605b0131eb0_icgraph" id="cpu__aes_8c_a5d4f985e71b46b56ebef6605b0131eb0_icgraph">
<area shape="rect"  title=" " alt="" coords="595,5,725,32"/>
<area shape="rect"  href="cpu__aes_8c.html#add596e4998215dc0db9c79a5fc13da80" title=" " alt="" coords="395,5,547,32"/>
<area shape="rect"  href="cpu__aes_8c.html#a65e37d05b00017f7d0c6fcd3b82746f2" title=" " alt="" coords="199,5,347,32"/>
<area shape="rect"  href="interface_8c.html#a665f1535d028c08e85a988055d5516f3" title=" " alt="" coords="5,5,151,32"/>
</map>
</div>

</div>
</div>
<a id="a2b2311272dadc9dda7b2927a362d5132"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2b2311272dadc9dda7b2927a362d5132">&#9670;&nbsp;</a></span>AES256_decrypt()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void AES256_decrypt </td>
          <td>(</td>
          <td class="paramtype">const u32 *&#160;</td>
          <td class="paramname"><em>in</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32 *&#160;</td>
          <td class="paramname"><em>out</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const u32 *&#160;</td>
          <td class="paramname"><em>rdk</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="cpu__aes_8c_source.html#l01160">1160</a> of file <a class="el" href="cpu__aes_8c_source.html">cpu_aes.c</a>.</p>
<div class="fragment"><div class="line"><a name="l01161"></a><span class="lineno"> 1161</span>&#160;{</div><div class="line"><a name="l01162"></a><span class="lineno"> 1162</span>&#160;  u32 in_s[4];</div><div class="line"><a name="l01163"></a><span class="lineno"> 1163</span>&#160;</div><div class="line"><a name="l01164"></a><span class="lineno"> 1164</span>&#160;  in_s[0] = <a class="code" href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53">byte_swap_32</a> (in[0]);</div><div class="line"><a name="l01165"></a><span class="lineno"> 1165</span>&#160;  in_s[1] = <a class="code" href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53">byte_swap_32</a> (in[1]);</div><div class="line"><a name="l01166"></a><span class="lineno"> 1166</span>&#160;  in_s[2] = <a class="code" href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53">byte_swap_32</a> (in[2]);</div><div class="line"><a name="l01167"></a><span class="lineno"> 1167</span>&#160;  in_s[3] = <a class="code" href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53">byte_swap_32</a> (in[3]);</div><div class="line"><a name="l01168"></a><span class="lineno"> 1168</span>&#160;</div><div class="line"><a name="l01169"></a><span class="lineno"> 1169</span>&#160;  u32 s0 = in_s[0] ^ rdk[0];</div><div class="line"><a name="l01170"></a><span class="lineno"> 1170</span>&#160;  u32 s1 = in_s[1] ^ rdk[1];</div><div class="line"><a name="l01171"></a><span class="lineno"> 1171</span>&#160;  u32 s2 = in_s[2] ^ rdk[2];</div><div class="line"><a name="l01172"></a><span class="lineno"> 1172</span>&#160;  u32 s3 = in_s[3] ^ rdk[3];</div><div class="line"><a name="l01173"></a><span class="lineno"> 1173</span>&#160;</div><div class="line"><a name="l01174"></a><span class="lineno"> 1174</span>&#160;  u32 t0;</div><div class="line"><a name="l01175"></a><span class="lineno"> 1175</span>&#160;  u32 t1;</div><div class="line"><a name="l01176"></a><span class="lineno"> 1176</span>&#160;  u32 t2;</div><div class="line"><a name="l01177"></a><span class="lineno"> 1177</span>&#160;  u32 t3;</div><div class="line"><a name="l01178"></a><span class="lineno"> 1178</span>&#160;</div><div class="line"><a name="l01179"></a><span class="lineno"> 1179</span>&#160;  t0 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[s0 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(s3 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(s2 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[s1 &amp; 0xff] ^ rdk[ 4];</div><div class="line"><a name="l01180"></a><span class="lineno"> 1180</span>&#160;  t1 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[s1 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(s0 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(s3 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[s2 &amp; 0xff] ^ rdk[ 5];</div><div class="line"><a name="l01181"></a><span class="lineno"> 1181</span>&#160;  t2 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[s2 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(s1 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(s0 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[s3 &amp; 0xff] ^ rdk[ 6];</div><div class="line"><a name="l01182"></a><span class="lineno"> 1182</span>&#160;  t3 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[s3 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(s2 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(s1 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[s0 &amp; 0xff] ^ rdk[ 7];</div><div class="line"><a name="l01183"></a><span class="lineno"> 1183</span>&#160;  s0 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[t0 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(t3 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(t2 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[t1 &amp; 0xff] ^ rdk[ 8];</div><div class="line"><a name="l01184"></a><span class="lineno"> 1184</span>&#160;  s1 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[t1 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(t0 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(t3 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[t2 &amp; 0xff] ^ rdk[ 9];</div><div class="line"><a name="l01185"></a><span class="lineno"> 1185</span>&#160;  s2 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[t2 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(t1 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(t0 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[t3 &amp; 0xff] ^ rdk[10];</div><div class="line"><a name="l01186"></a><span class="lineno"> 1186</span>&#160;  s3 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[t3 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(t2 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(t1 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[t0 &amp; 0xff] ^ rdk[11];</div><div class="line"><a name="l01187"></a><span class="lineno"> 1187</span>&#160;  t0 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[s0 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(s3 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(s2 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[s1 &amp; 0xff] ^ rdk[12];</div><div class="line"><a name="l01188"></a><span class="lineno"> 1188</span>&#160;  t1 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[s1 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(s0 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(s3 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[s2 &amp; 0xff] ^ rdk[13];</div><div class="line"><a name="l01189"></a><span class="lineno"> 1189</span>&#160;  t2 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[s2 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(s1 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(s0 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[s3 &amp; 0xff] ^ rdk[14];</div><div class="line"><a name="l01190"></a><span class="lineno"> 1190</span>&#160;  t3 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[s3 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(s2 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(s1 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[s0 &amp; 0xff] ^ rdk[15];</div><div class="line"><a name="l01191"></a><span class="lineno"> 1191</span>&#160;  s0 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[t0 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(t3 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(t2 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[t1 &amp; 0xff] ^ rdk[16];</div><div class="line"><a name="l01192"></a><span class="lineno"> 1192</span>&#160;  s1 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[t1 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(t0 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(t3 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[t2 &amp; 0xff] ^ rdk[17];</div><div class="line"><a name="l01193"></a><span class="lineno"> 1193</span>&#160;  s2 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[t2 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(t1 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(t0 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[t3 &amp; 0xff] ^ rdk[18];</div><div class="line"><a name="l01194"></a><span class="lineno"> 1194</span>&#160;  s3 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[t3 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(t2 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(t1 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[t0 &amp; 0xff] ^ rdk[19];</div><div class="line"><a name="l01195"></a><span class="lineno"> 1195</span>&#160;  t0 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[s0 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(s3 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(s2 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[s1 &amp; 0xff] ^ rdk[20];</div><div class="line"><a name="l01196"></a><span class="lineno"> 1196</span>&#160;  t1 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[s1 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(s0 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(s3 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[s2 &amp; 0xff] ^ rdk[21];</div><div class="line"><a name="l01197"></a><span class="lineno"> 1197</span>&#160;  t2 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[s2 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(s1 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(s0 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[s3 &amp; 0xff] ^ rdk[22];</div><div class="line"><a name="l01198"></a><span class="lineno"> 1198</span>&#160;  t3 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[s3 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(s2 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(s1 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[s0 &amp; 0xff] ^ rdk[23];</div><div class="line"><a name="l01199"></a><span class="lineno"> 1199</span>&#160;  s0 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[t0 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(t3 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(t2 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[t1 &amp; 0xff] ^ rdk[24];</div><div class="line"><a name="l01200"></a><span class="lineno"> 1200</span>&#160;  s1 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[t1 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(t0 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(t3 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[t2 &amp; 0xff] ^ rdk[25];</div><div class="line"><a name="l01201"></a><span class="lineno"> 1201</span>&#160;  s2 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[t2 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(t1 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(t0 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[t3 &amp; 0xff] ^ rdk[26];</div><div class="line"><a name="l01202"></a><span class="lineno"> 1202</span>&#160;  s3 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[t3 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(t2 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(t1 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[t0 &amp; 0xff] ^ rdk[27];</div><div class="line"><a name="l01203"></a><span class="lineno"> 1203</span>&#160;  t0 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[s0 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(s3 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(s2 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[s1 &amp; 0xff] ^ rdk[28];</div><div class="line"><a name="l01204"></a><span class="lineno"> 1204</span>&#160;  t1 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[s1 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(s0 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(s3 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[s2 &amp; 0xff] ^ rdk[29];</div><div class="line"><a name="l01205"></a><span class="lineno"> 1205</span>&#160;  t2 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[s2 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(s1 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(s0 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[s3 &amp; 0xff] ^ rdk[30];</div><div class="line"><a name="l01206"></a><span class="lineno"> 1206</span>&#160;  t3 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[s3 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(s2 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(s1 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[s0 &amp; 0xff] ^ rdk[31];</div><div class="line"><a name="l01207"></a><span class="lineno"> 1207</span>&#160;  s0 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[t0 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(t3 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(t2 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[t1 &amp; 0xff] ^ rdk[32];</div><div class="line"><a name="l01208"></a><span class="lineno"> 1208</span>&#160;  s1 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[t1 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(t0 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(t3 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[t2 &amp; 0xff] ^ rdk[33];</div><div class="line"><a name="l01209"></a><span class="lineno"> 1209</span>&#160;  s2 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[t2 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(t1 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(t0 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[t3 &amp; 0xff] ^ rdk[34];</div><div class="line"><a name="l01210"></a><span class="lineno"> 1210</span>&#160;  s3 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[t3 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(t2 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(t1 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[t0 &amp; 0xff] ^ rdk[35];</div><div class="line"><a name="l01211"></a><span class="lineno"> 1211</span>&#160;  t0 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[s0 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(s3 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(s2 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[s1 &amp; 0xff] ^ rdk[36];</div><div class="line"><a name="l01212"></a><span class="lineno"> 1212</span>&#160;  t1 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[s1 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(s0 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(s3 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[s2 &amp; 0xff] ^ rdk[37];</div><div class="line"><a name="l01213"></a><span class="lineno"> 1213</span>&#160;  t2 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[s2 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(s1 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(s0 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[s3 &amp; 0xff] ^ rdk[38];</div><div class="line"><a name="l01214"></a><span class="lineno"> 1214</span>&#160;  t3 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[s3 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(s2 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(s1 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[s0 &amp; 0xff] ^ rdk[39];</div><div class="line"><a name="l01215"></a><span class="lineno"> 1215</span>&#160;  s0 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[t0 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(t3 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(t2 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[t1 &amp; 0xff] ^ rdk[40];</div><div class="line"><a name="l01216"></a><span class="lineno"> 1216</span>&#160;  s1 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[t1 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(t0 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(t3 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[t2 &amp; 0xff] ^ rdk[41];</div><div class="line"><a name="l01217"></a><span class="lineno"> 1217</span>&#160;  s2 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[t2 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(t1 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(t0 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[t3 &amp; 0xff] ^ rdk[42];</div><div class="line"><a name="l01218"></a><span class="lineno"> 1218</span>&#160;  s3 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[t3 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(t2 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(t1 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[t0 &amp; 0xff] ^ rdk[43];</div><div class="line"><a name="l01219"></a><span class="lineno"> 1219</span>&#160;  t0 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[s0 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(s3 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(s2 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[s1 &amp; 0xff] ^ rdk[44];</div><div class="line"><a name="l01220"></a><span class="lineno"> 1220</span>&#160;  t1 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[s1 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(s0 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(s3 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[s2 &amp; 0xff] ^ rdk[45];</div><div class="line"><a name="l01221"></a><span class="lineno"> 1221</span>&#160;  t2 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[s2 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(s1 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(s0 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[s3 &amp; 0xff] ^ rdk[46];</div><div class="line"><a name="l01222"></a><span class="lineno"> 1222</span>&#160;  t3 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[s3 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(s2 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(s1 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[s0 &amp; 0xff] ^ rdk[47];</div><div class="line"><a name="l01223"></a><span class="lineno"> 1223</span>&#160;  s0 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[t0 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(t3 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(t2 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[t1 &amp; 0xff] ^ rdk[48];</div><div class="line"><a name="l01224"></a><span class="lineno"> 1224</span>&#160;  s1 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[t1 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(t0 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(t3 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[t2 &amp; 0xff] ^ rdk[49];</div><div class="line"><a name="l01225"></a><span class="lineno"> 1225</span>&#160;  s2 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[t2 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(t1 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(t0 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[t3 &amp; 0xff] ^ rdk[50];</div><div class="line"><a name="l01226"></a><span class="lineno"> 1226</span>&#160;  s3 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[t3 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(t2 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(t1 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[t0 &amp; 0xff] ^ rdk[51];</div><div class="line"><a name="l01227"></a><span class="lineno"> 1227</span>&#160;  t0 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[s0 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(s3 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(s2 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[s1 &amp; 0xff] ^ rdk[52];</div><div class="line"><a name="l01228"></a><span class="lineno"> 1228</span>&#160;  t1 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[s1 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(s0 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(s3 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[s2 &amp; 0xff] ^ rdk[53];</div><div class="line"><a name="l01229"></a><span class="lineno"> 1229</span>&#160;  t2 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[s2 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(s1 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(s0 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[s3 &amp; 0xff] ^ rdk[54];</div><div class="line"><a name="l01230"></a><span class="lineno"> 1230</span>&#160;  t3 = <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[s3 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[(s2 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[(s1 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[s0 &amp; 0xff] ^ rdk[55];</div><div class="line"><a name="l01231"></a><span class="lineno"> 1231</span>&#160;</div><div class="line"><a name="l01232"></a><span class="lineno"> 1232</span>&#160;  out[0] = (<a class="code" href="cpu__aes_8c.html#aa1b05bd5f09a45fcccef57007582c215">td4</a>[(t0 &gt;&gt; 24) &amp; 0xff] &amp; 0xff000000)</div><div class="line"><a name="l01233"></a><span class="lineno"> 1233</span>&#160;         ^ (<a class="code" href="cpu__aes_8c.html#aa1b05bd5f09a45fcccef57007582c215">td4</a>[(t3 &gt;&gt; 16) &amp; 0xff] &amp; 0x00ff0000)</div><div class="line"><a name="l01234"></a><span class="lineno"> 1234</span>&#160;         ^ (<a class="code" href="cpu__aes_8c.html#aa1b05bd5f09a45fcccef57007582c215">td4</a>[(t2 &gt;&gt;  8) &amp; 0xff] &amp; 0x0000ff00)</div><div class="line"><a name="l01235"></a><span class="lineno"> 1235</span>&#160;         ^ (<a class="code" href="cpu__aes_8c.html#aa1b05bd5f09a45fcccef57007582c215">td4</a>[(t1 &gt;&gt;  0) &amp; 0xff] &amp; 0x000000ff)</div><div class="line"><a name="l01236"></a><span class="lineno"> 1236</span>&#160;         ^ rdk[56];</div><div class="line"><a name="l01237"></a><span class="lineno"> 1237</span>&#160;</div><div class="line"><a name="l01238"></a><span class="lineno"> 1238</span>&#160;  out[1] = (<a class="code" href="cpu__aes_8c.html#aa1b05bd5f09a45fcccef57007582c215">td4</a>[(t1 &gt;&gt; 24) &amp; 0xff] &amp; 0xff000000)</div><div class="line"><a name="l01239"></a><span class="lineno"> 1239</span>&#160;         ^ (<a class="code" href="cpu__aes_8c.html#aa1b05bd5f09a45fcccef57007582c215">td4</a>[(t0 &gt;&gt; 16) &amp; 0xff] &amp; 0x00ff0000)</div><div class="line"><a name="l01240"></a><span class="lineno"> 1240</span>&#160;         ^ (<a class="code" href="cpu__aes_8c.html#aa1b05bd5f09a45fcccef57007582c215">td4</a>[(t3 &gt;&gt;  8) &amp; 0xff] &amp; 0x0000ff00)</div><div class="line"><a name="l01241"></a><span class="lineno"> 1241</span>&#160;         ^ (<a class="code" href="cpu__aes_8c.html#aa1b05bd5f09a45fcccef57007582c215">td4</a>[(t2 &gt;&gt;  0) &amp; 0xff] &amp; 0x000000ff)</div><div class="line"><a name="l01242"></a><span class="lineno"> 1242</span>&#160;         ^ rdk[57];</div><div class="line"><a name="l01243"></a><span class="lineno"> 1243</span>&#160;</div><div class="line"><a name="l01244"></a><span class="lineno"> 1244</span>&#160;  out[2] = (<a class="code" href="cpu__aes_8c.html#aa1b05bd5f09a45fcccef57007582c215">td4</a>[(t2 &gt;&gt; 24) &amp; 0xff] &amp; 0xff000000)</div><div class="line"><a name="l01245"></a><span class="lineno"> 1245</span>&#160;         ^ (<a class="code" href="cpu__aes_8c.html#aa1b05bd5f09a45fcccef57007582c215">td4</a>[(t1 &gt;&gt; 16) &amp; 0xff] &amp; 0x00ff0000)</div><div class="line"><a name="l01246"></a><span class="lineno"> 1246</span>&#160;         ^ (<a class="code" href="cpu__aes_8c.html#aa1b05bd5f09a45fcccef57007582c215">td4</a>[(t0 &gt;&gt;  8) &amp; 0xff] &amp; 0x0000ff00)</div><div class="line"><a name="l01247"></a><span class="lineno"> 1247</span>&#160;         ^ (<a class="code" href="cpu__aes_8c.html#aa1b05bd5f09a45fcccef57007582c215">td4</a>[(t3 &gt;&gt;  0) &amp; 0xff] &amp; 0x000000ff)</div><div class="line"><a name="l01248"></a><span class="lineno"> 1248</span>&#160;         ^ rdk[58];</div><div class="line"><a name="l01249"></a><span class="lineno"> 1249</span>&#160;</div><div class="line"><a name="l01250"></a><span class="lineno"> 1250</span>&#160;  out[3] = (<a class="code" href="cpu__aes_8c.html#aa1b05bd5f09a45fcccef57007582c215">td4</a>[(t3 &gt;&gt; 24) &amp; 0xff] &amp; 0xff000000)</div><div class="line"><a name="l01251"></a><span class="lineno"> 1251</span>&#160;         ^ (<a class="code" href="cpu__aes_8c.html#aa1b05bd5f09a45fcccef57007582c215">td4</a>[(t2 &gt;&gt; 16) &amp; 0xff] &amp; 0x00ff0000)</div><div class="line"><a name="l01252"></a><span class="lineno"> 1252</span>&#160;         ^ (<a class="code" href="cpu__aes_8c.html#aa1b05bd5f09a45fcccef57007582c215">td4</a>[(t1 &gt;&gt;  8) &amp; 0xff] &amp; 0x0000ff00)</div><div class="line"><a name="l01253"></a><span class="lineno"> 1253</span>&#160;         ^ (<a class="code" href="cpu__aes_8c.html#aa1b05bd5f09a45fcccef57007582c215">td4</a>[(t0 &gt;&gt;  0) &amp; 0xff] &amp; 0x000000ff)</div><div class="line"><a name="l01254"></a><span class="lineno"> 1254</span>&#160;         ^ rdk[59];</div><div class="line"><a name="l01255"></a><span class="lineno"> 1255</span>&#160;</div><div class="line"><a name="l01256"></a><span class="lineno"> 1256</span>&#160;  out[0] = <a class="code" href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53">byte_swap_32</a> (out[0]);</div><div class="line"><a name="l01257"></a><span class="lineno"> 1257</span>&#160;  out[1] = <a class="code" href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53">byte_swap_32</a> (out[1]);</div><div class="line"><a name="l01258"></a><span class="lineno"> 1258</span>&#160;  out[2] = <a class="code" href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53">byte_swap_32</a> (out[2]);</div><div class="line"><a name="l01259"></a><span class="lineno"> 1259</span>&#160;  out[3] = <a class="code" href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53">byte_swap_32</a> (out[3]);</div><div class="line"><a name="l01260"></a><span class="lineno"> 1260</span>&#160;}</div><div class="ttc" id="cpu__aes_8c_html_af43aa5a19ee0e0f3fd612018fc4b4954"><div class="ttname"><a href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a></div><div class="ttdeci">static const u32 td3[256]</div><div class="ttdef"><b>Definition:</b> <a href="cpu__aes_8c_source.html#l00559">cpu_aes.c:559</a></div></div>
<div class="ttc" id="bitops_8c_html_a3a1120031ebc424b1407f5ac127bea53"><div class="ttname"><a href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53">byte_swap_32</a></div><div class="ttdeci">u32 byte_swap_32(const u32 n)</div><div class="ttdef"><b>Definition:</b> <a href="bitops_8c_source.html#l00046">bitops.c:46</a></div></div>
<div class="ttc" id="cpu__aes_8c_html_a16e7fe9e1bae06f027ba12f3eb57fa45"><div class="ttname"><a href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a></div><div class="ttdeci">static const u32 td1[256]</div><div class="ttdef"><b>Definition:</b> <a href="cpu__aes_8c_source.html#l00423">cpu_aes.c:423</a></div></div>
<div class="ttc" id="cpu__aes_8c_html_a7fd70190b852028c9496bd3dd0eaae15"><div class="ttname"><a href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a></div><div class="ttdeci">static const u32 td2[256]</div><div class="ttdef"><b>Definition:</b> <a href="cpu__aes_8c_source.html#l00491">cpu_aes.c:491</a></div></div>
<div class="ttc" id="cpu__aes_8c_html_abb971dc857523f03da15f6c15e739b1b"><div class="ttname"><a href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a></div><div class="ttdeci">static const u32 td0[256]</div><div class="ttdef"><b>Definition:</b> <a href="cpu__aes_8c_source.html#l00355">cpu_aes.c:355</a></div></div>
<div class="ttc" id="cpu__aes_8c_html_aa1b05bd5f09a45fcccef57007582c215"><div class="ttname"><a href="cpu__aes_8c.html#aa1b05bd5f09a45fcccef57007582c215">td4</a></div><div class="ttdeci">static const u32 td4[256]</div><div class="ttdef"><b>Definition:</b> <a href="cpu__aes_8c_source.html#l00627">cpu_aes.c:627</a></div></div>
</div><!-- fragment -->
<p class="reference">References <a class="el" href="bitops_8c_source.html#l00046">byte_swap_32()</a>, <a class="el" href="cpu__aes_8c_source.html#l00355">td0</a>, <a class="el" href="cpu__aes_8c_source.html#l00423">td1</a>, <a class="el" href="cpu__aes_8c_source.html#l00491">td2</a>, <a class="el" href="cpu__aes_8c_source.html#l00559">td3</a>, and <a class="el" href="cpu__aes_8c_source.html#l00627">td4</a>.</p>

<p class="reference">Referenced by <a class="el" href="cpu__aes_8c_source.html#l01308">AES_decrypt()</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="cpu__aes_8c_a2b2311272dadc9dda7b2927a362d5132_cgraph.gif" border="0" usemap="#cpu__aes_8c_a2b2311272dadc9dda7b2927a362d5132_cgraph" alt=""/></div>
<map name="cpu__aes_8c_a2b2311272dadc9dda7b2927a362d5132_cgraph" id="cpu__aes_8c_a2b2311272dadc9dda7b2927a362d5132_cgraph">
<area shape="rect"  title=" " alt="" coords="5,5,125,32"/>
<area shape="rect"  href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53" title=" " alt="" coords="173,5,279,32"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="cpu__aes_8c_a2b2311272dadc9dda7b2927a362d5132_icgraph.gif" border="0" usemap="#cpu__aes_8c_a2b2311272dadc9dda7b2927a362d5132_icgraph" alt=""/></div>
<map name="cpu__aes_8c_a2b2311272dadc9dda7b2927a362d5132_icgraph" id="cpu__aes_8c_a2b2311272dadc9dda7b2927a362d5132_icgraph">
<area shape="rect"  title=" " alt="" coords="541,5,661,32"/>
<area shape="rect"  href="cpu__aes_8c.html#a87b4c9852a4f0da9860dec99079bb2fa" title=" " alt="" coords="395,5,493,32"/>
<area shape="rect"  href="cpu__aes_8c.html#a65e37d05b00017f7d0c6fcd3b82746f2" title=" " alt="" coords="199,5,347,32"/>
<area shape="rect"  href="interface_8c.html#a665f1535d028c08e85a988055d5516f3" title=" " alt="" coords="5,5,151,32"/>
</map>
</div>

</div>
</div>
<a id="a39a856b5b90919bb4ca19c6192bbc8e1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a39a856b5b90919bb4ca19c6192bbc8e1">&#9670;&nbsp;</a></span>AES256_encrypt()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void AES256_encrypt </td>
          <td>(</td>
          <td class="paramtype">const u32 *&#160;</td>
          <td class="paramname"><em>in</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32 *&#160;</td>
          <td class="paramname"><em>out</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const u32 *&#160;</td>
          <td class="paramname"><em>rek</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="cpu__aes_8c_source.html#l01058">1058</a> of file <a class="el" href="cpu__aes_8c_source.html">cpu_aes.c</a>.</p>
<div class="fragment"><div class="line"><a name="l01059"></a><span class="lineno"> 1059</span>&#160;{</div><div class="line"><a name="l01060"></a><span class="lineno"> 1060</span>&#160;  u32 in_s[4];</div><div class="line"><a name="l01061"></a><span class="lineno"> 1061</span>&#160;</div><div class="line"><a name="l01062"></a><span class="lineno"> 1062</span>&#160;  in_s[0] = <a class="code" href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53">byte_swap_32</a> (in[0]);</div><div class="line"><a name="l01063"></a><span class="lineno"> 1063</span>&#160;  in_s[1] = <a class="code" href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53">byte_swap_32</a> (in[1]);</div><div class="line"><a name="l01064"></a><span class="lineno"> 1064</span>&#160;  in_s[2] = <a class="code" href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53">byte_swap_32</a> (in[2]);</div><div class="line"><a name="l01065"></a><span class="lineno"> 1065</span>&#160;  in_s[3] = <a class="code" href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53">byte_swap_32</a> (in[3]);</div><div class="line"><a name="l01066"></a><span class="lineno"> 1066</span>&#160;</div><div class="line"><a name="l01067"></a><span class="lineno"> 1067</span>&#160;  u32 s0 = in_s[0] ^ rek[0];</div><div class="line"><a name="l01068"></a><span class="lineno"> 1068</span>&#160;  u32 s1 = in_s[1] ^ rek[1];</div><div class="line"><a name="l01069"></a><span class="lineno"> 1069</span>&#160;  u32 s2 = in_s[2] ^ rek[2];</div><div class="line"><a name="l01070"></a><span class="lineno"> 1070</span>&#160;  u32 s3 = in_s[3] ^ rek[3];</div><div class="line"><a name="l01071"></a><span class="lineno"> 1071</span>&#160;</div><div class="line"><a name="l01072"></a><span class="lineno"> 1072</span>&#160;  u32 t0;</div><div class="line"><a name="l01073"></a><span class="lineno"> 1073</span>&#160;  u32 t1;</div><div class="line"><a name="l01074"></a><span class="lineno"> 1074</span>&#160;  u32 t2;</div><div class="line"><a name="l01075"></a><span class="lineno"> 1075</span>&#160;  u32 t3;</div><div class="line"><a name="l01076"></a><span class="lineno"> 1076</span>&#160;</div><div class="line"><a name="l01077"></a><span class="lineno"> 1077</span>&#160;  t0 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[s0 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(s1 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(s2 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[s3 &amp; 0xff] ^ rek[ 4];</div><div class="line"><a name="l01078"></a><span class="lineno"> 1078</span>&#160;  t1 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[s1 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(s2 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(s3 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[s0 &amp; 0xff] ^ rek[ 5];</div><div class="line"><a name="l01079"></a><span class="lineno"> 1079</span>&#160;  t2 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[s2 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(s3 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(s0 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[s1 &amp; 0xff] ^ rek[ 6];</div><div class="line"><a name="l01080"></a><span class="lineno"> 1080</span>&#160;  t3 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[s3 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(s0 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(s1 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[s2 &amp; 0xff] ^ rek[ 7];</div><div class="line"><a name="l01081"></a><span class="lineno"> 1081</span>&#160;  s0 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[t0 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(t1 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(t2 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[t3 &amp; 0xff] ^ rek[ 8];</div><div class="line"><a name="l01082"></a><span class="lineno"> 1082</span>&#160;  s1 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[t1 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(t2 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(t3 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[t0 &amp; 0xff] ^ rek[ 9];</div><div class="line"><a name="l01083"></a><span class="lineno"> 1083</span>&#160;  s2 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[t2 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(t3 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(t0 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[t1 &amp; 0xff] ^ rek[10];</div><div class="line"><a name="l01084"></a><span class="lineno"> 1084</span>&#160;  s3 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[t3 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(t0 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(t1 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[t2 &amp; 0xff] ^ rek[11];</div><div class="line"><a name="l01085"></a><span class="lineno"> 1085</span>&#160;  t0 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[s0 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(s1 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(s2 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[s3 &amp; 0xff] ^ rek[12];</div><div class="line"><a name="l01086"></a><span class="lineno"> 1086</span>&#160;  t1 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[s1 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(s2 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(s3 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[s0 &amp; 0xff] ^ rek[13];</div><div class="line"><a name="l01087"></a><span class="lineno"> 1087</span>&#160;  t2 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[s2 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(s3 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(s0 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[s1 &amp; 0xff] ^ rek[14];</div><div class="line"><a name="l01088"></a><span class="lineno"> 1088</span>&#160;  t3 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[s3 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(s0 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(s1 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[s2 &amp; 0xff] ^ rek[15];</div><div class="line"><a name="l01089"></a><span class="lineno"> 1089</span>&#160;  s0 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[t0 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(t1 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(t2 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[t3 &amp; 0xff] ^ rek[16];</div><div class="line"><a name="l01090"></a><span class="lineno"> 1090</span>&#160;  s1 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[t1 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(t2 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(t3 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[t0 &amp; 0xff] ^ rek[17];</div><div class="line"><a name="l01091"></a><span class="lineno"> 1091</span>&#160;  s2 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[t2 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(t3 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(t0 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[t1 &amp; 0xff] ^ rek[18];</div><div class="line"><a name="l01092"></a><span class="lineno"> 1092</span>&#160;  s3 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[t3 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(t0 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(t1 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[t2 &amp; 0xff] ^ rek[19];</div><div class="line"><a name="l01093"></a><span class="lineno"> 1093</span>&#160;  t0 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[s0 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(s1 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(s2 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[s3 &amp; 0xff] ^ rek[20];</div><div class="line"><a name="l01094"></a><span class="lineno"> 1094</span>&#160;  t1 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[s1 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(s2 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(s3 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[s0 &amp; 0xff] ^ rek[21];</div><div class="line"><a name="l01095"></a><span class="lineno"> 1095</span>&#160;  t2 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[s2 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(s3 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(s0 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[s1 &amp; 0xff] ^ rek[22];</div><div class="line"><a name="l01096"></a><span class="lineno"> 1096</span>&#160;  t3 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[s3 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(s0 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(s1 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[s2 &amp; 0xff] ^ rek[23];</div><div class="line"><a name="l01097"></a><span class="lineno"> 1097</span>&#160;  s0 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[t0 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(t1 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(t2 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[t3 &amp; 0xff] ^ rek[24];</div><div class="line"><a name="l01098"></a><span class="lineno"> 1098</span>&#160;  s1 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[t1 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(t2 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(t3 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[t0 &amp; 0xff] ^ rek[25];</div><div class="line"><a name="l01099"></a><span class="lineno"> 1099</span>&#160;  s2 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[t2 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(t3 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(t0 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[t1 &amp; 0xff] ^ rek[26];</div><div class="line"><a name="l01100"></a><span class="lineno"> 1100</span>&#160;  s3 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[t3 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(t0 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(t1 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[t2 &amp; 0xff] ^ rek[27];</div><div class="line"><a name="l01101"></a><span class="lineno"> 1101</span>&#160;  t0 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[s0 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(s1 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(s2 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[s3 &amp; 0xff] ^ rek[28];</div><div class="line"><a name="l01102"></a><span class="lineno"> 1102</span>&#160;  t1 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[s1 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(s2 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(s3 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[s0 &amp; 0xff] ^ rek[29];</div><div class="line"><a name="l01103"></a><span class="lineno"> 1103</span>&#160;  t2 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[s2 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(s3 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(s0 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[s1 &amp; 0xff] ^ rek[30];</div><div class="line"><a name="l01104"></a><span class="lineno"> 1104</span>&#160;  t3 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[s3 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(s0 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(s1 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[s2 &amp; 0xff] ^ rek[31];</div><div class="line"><a name="l01105"></a><span class="lineno"> 1105</span>&#160;  s0 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[t0 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(t1 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(t2 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[t3 &amp; 0xff] ^ rek[32];</div><div class="line"><a name="l01106"></a><span class="lineno"> 1106</span>&#160;  s1 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[t1 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(t2 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(t3 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[t0 &amp; 0xff] ^ rek[33];</div><div class="line"><a name="l01107"></a><span class="lineno"> 1107</span>&#160;  s2 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[t2 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(t3 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(t0 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[t1 &amp; 0xff] ^ rek[34];</div><div class="line"><a name="l01108"></a><span class="lineno"> 1108</span>&#160;  s3 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[t3 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(t0 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(t1 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[t2 &amp; 0xff] ^ rek[35];</div><div class="line"><a name="l01109"></a><span class="lineno"> 1109</span>&#160;  t0 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[s0 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(s1 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(s2 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[s3 &amp; 0xff] ^ rek[36];</div><div class="line"><a name="l01110"></a><span class="lineno"> 1110</span>&#160;  t1 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[s1 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(s2 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(s3 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[s0 &amp; 0xff] ^ rek[37];</div><div class="line"><a name="l01111"></a><span class="lineno"> 1111</span>&#160;  t2 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[s2 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(s3 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(s0 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[s1 &amp; 0xff] ^ rek[38];</div><div class="line"><a name="l01112"></a><span class="lineno"> 1112</span>&#160;  t3 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[s3 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(s0 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(s1 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[s2 &amp; 0xff] ^ rek[39];</div><div class="line"><a name="l01113"></a><span class="lineno"> 1113</span>&#160;  s0 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[t0 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(t1 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(t2 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[t3 &amp; 0xff] ^ rek[40];</div><div class="line"><a name="l01114"></a><span class="lineno"> 1114</span>&#160;  s1 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[t1 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(t2 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(t3 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[t0 &amp; 0xff] ^ rek[41];</div><div class="line"><a name="l01115"></a><span class="lineno"> 1115</span>&#160;  s2 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[t2 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(t3 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(t0 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[t1 &amp; 0xff] ^ rek[42];</div><div class="line"><a name="l01116"></a><span class="lineno"> 1116</span>&#160;  s3 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[t3 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(t0 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(t1 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[t2 &amp; 0xff] ^ rek[43];</div><div class="line"><a name="l01117"></a><span class="lineno"> 1117</span>&#160;  t0 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[s0 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(s1 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(s2 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[s3 &amp; 0xff] ^ rek[44];</div><div class="line"><a name="l01118"></a><span class="lineno"> 1118</span>&#160;  t1 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[s1 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(s2 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(s3 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[s0 &amp; 0xff] ^ rek[45];</div><div class="line"><a name="l01119"></a><span class="lineno"> 1119</span>&#160;  t2 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[s2 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(s3 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(s0 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[s1 &amp; 0xff] ^ rek[46];</div><div class="line"><a name="l01120"></a><span class="lineno"> 1120</span>&#160;  t3 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[s3 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(s0 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(s1 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[s2 &amp; 0xff] ^ rek[47];</div><div class="line"><a name="l01121"></a><span class="lineno"> 1121</span>&#160;  s0 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[t0 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(t1 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(t2 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[t3 &amp; 0xff] ^ rek[48];</div><div class="line"><a name="l01122"></a><span class="lineno"> 1122</span>&#160;  s1 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[t1 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(t2 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(t3 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[t0 &amp; 0xff] ^ rek[49];</div><div class="line"><a name="l01123"></a><span class="lineno"> 1123</span>&#160;  s2 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[t2 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(t3 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(t0 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[t1 &amp; 0xff] ^ rek[50];</div><div class="line"><a name="l01124"></a><span class="lineno"> 1124</span>&#160;  s3 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[t3 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(t0 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(t1 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[t2 &amp; 0xff] ^ rek[51];</div><div class="line"><a name="l01125"></a><span class="lineno"> 1125</span>&#160;  t0 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[s0 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(s1 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(s2 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[s3 &amp; 0xff] ^ rek[52];</div><div class="line"><a name="l01126"></a><span class="lineno"> 1126</span>&#160;  t1 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[s1 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(s2 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(s3 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[s0 &amp; 0xff] ^ rek[53];</div><div class="line"><a name="l01127"></a><span class="lineno"> 1127</span>&#160;  t2 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[s2 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(s3 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(s0 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[s1 &amp; 0xff] ^ rek[54];</div><div class="line"><a name="l01128"></a><span class="lineno"> 1128</span>&#160;  t3 = <a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[s3 &gt;&gt; 24] ^ <a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(s0 &gt;&gt; 16) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(s1 &gt;&gt;  8) &amp; 0xff] ^ <a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[s2 &amp; 0xff] ^ rek[55];</div><div class="line"><a name="l01129"></a><span class="lineno"> 1129</span>&#160;</div><div class="line"><a name="l01130"></a><span class="lineno"> 1130</span>&#160;  out[0] = (<a class="code" href="cpu__aes_8c.html#afa7a0b1d08a8186fb1e04559a24be830">te4</a>[(t0 &gt;&gt; 24) &amp; 0xff] &amp; 0xff000000)</div><div class="line"><a name="l01131"></a><span class="lineno"> 1131</span>&#160;         ^ (<a class="code" href="cpu__aes_8c.html#afa7a0b1d08a8186fb1e04559a24be830">te4</a>[(t1 &gt;&gt; 16) &amp; 0xff] &amp; 0x00ff0000)</div><div class="line"><a name="l01132"></a><span class="lineno"> 1132</span>&#160;         ^ (<a class="code" href="cpu__aes_8c.html#afa7a0b1d08a8186fb1e04559a24be830">te4</a>[(t2 &gt;&gt;  8) &amp; 0xff] &amp; 0x0000ff00)</div><div class="line"><a name="l01133"></a><span class="lineno"> 1133</span>&#160;         ^ (<a class="code" href="cpu__aes_8c.html#afa7a0b1d08a8186fb1e04559a24be830">te4</a>[(t3 &gt;&gt;  0) &amp; 0xff] &amp; 0x000000ff)</div><div class="line"><a name="l01134"></a><span class="lineno"> 1134</span>&#160;         ^ rek[56];</div><div class="line"><a name="l01135"></a><span class="lineno"> 1135</span>&#160;</div><div class="line"><a name="l01136"></a><span class="lineno"> 1136</span>&#160;  out[1] = (<a class="code" href="cpu__aes_8c.html#afa7a0b1d08a8186fb1e04559a24be830">te4</a>[(t1 &gt;&gt; 24) &amp; 0xff] &amp; 0xff000000)</div><div class="line"><a name="l01137"></a><span class="lineno"> 1137</span>&#160;         ^ (<a class="code" href="cpu__aes_8c.html#afa7a0b1d08a8186fb1e04559a24be830">te4</a>[(t2 &gt;&gt; 16) &amp; 0xff] &amp; 0x00ff0000)</div><div class="line"><a name="l01138"></a><span class="lineno"> 1138</span>&#160;         ^ (<a class="code" href="cpu__aes_8c.html#afa7a0b1d08a8186fb1e04559a24be830">te4</a>[(t3 &gt;&gt;  8) &amp; 0xff] &amp; 0x0000ff00)</div><div class="line"><a name="l01139"></a><span class="lineno"> 1139</span>&#160;         ^ (<a class="code" href="cpu__aes_8c.html#afa7a0b1d08a8186fb1e04559a24be830">te4</a>[(t0 &gt;&gt;  0) &amp; 0xff] &amp; 0x000000ff)</div><div class="line"><a name="l01140"></a><span class="lineno"> 1140</span>&#160;         ^ rek[57];</div><div class="line"><a name="l01141"></a><span class="lineno"> 1141</span>&#160;</div><div class="line"><a name="l01142"></a><span class="lineno"> 1142</span>&#160;  out[2] = (<a class="code" href="cpu__aes_8c.html#afa7a0b1d08a8186fb1e04559a24be830">te4</a>[(t2 &gt;&gt; 24) &amp; 0xff] &amp; 0xff000000)</div><div class="line"><a name="l01143"></a><span class="lineno"> 1143</span>&#160;         ^ (<a class="code" href="cpu__aes_8c.html#afa7a0b1d08a8186fb1e04559a24be830">te4</a>[(t3 &gt;&gt; 16) &amp; 0xff] &amp; 0x00ff0000)</div><div class="line"><a name="l01144"></a><span class="lineno"> 1144</span>&#160;         ^ (<a class="code" href="cpu__aes_8c.html#afa7a0b1d08a8186fb1e04559a24be830">te4</a>[(t0 &gt;&gt;  8) &amp; 0xff] &amp; 0x0000ff00)</div><div class="line"><a name="l01145"></a><span class="lineno"> 1145</span>&#160;         ^ (<a class="code" href="cpu__aes_8c.html#afa7a0b1d08a8186fb1e04559a24be830">te4</a>[(t1 &gt;&gt;  0) &amp; 0xff] &amp; 0x000000ff)</div><div class="line"><a name="l01146"></a><span class="lineno"> 1146</span>&#160;         ^ rek[58];</div><div class="line"><a name="l01147"></a><span class="lineno"> 1147</span>&#160;</div><div class="line"><a name="l01148"></a><span class="lineno"> 1148</span>&#160;  out[3] = (<a class="code" href="cpu__aes_8c.html#afa7a0b1d08a8186fb1e04559a24be830">te4</a>[(t3 &gt;&gt; 24) &amp; 0xff] &amp; 0xff000000)</div><div class="line"><a name="l01149"></a><span class="lineno"> 1149</span>&#160;         ^ (<a class="code" href="cpu__aes_8c.html#afa7a0b1d08a8186fb1e04559a24be830">te4</a>[(t0 &gt;&gt; 16) &amp; 0xff] &amp; 0x00ff0000)</div><div class="line"><a name="l01150"></a><span class="lineno"> 1150</span>&#160;         ^ (<a class="code" href="cpu__aes_8c.html#afa7a0b1d08a8186fb1e04559a24be830">te4</a>[(t1 &gt;&gt;  8) &amp; 0xff] &amp; 0x0000ff00)</div><div class="line"><a name="l01151"></a><span class="lineno"> 1151</span>&#160;         ^ (<a class="code" href="cpu__aes_8c.html#afa7a0b1d08a8186fb1e04559a24be830">te4</a>[(t2 &gt;&gt;  0) &amp; 0xff] &amp; 0x000000ff)</div><div class="line"><a name="l01152"></a><span class="lineno"> 1152</span>&#160;         ^ rek[59];</div><div class="line"><a name="l01153"></a><span class="lineno"> 1153</span>&#160;</div><div class="line"><a name="l01154"></a><span class="lineno"> 1154</span>&#160;  out[0] = <a class="code" href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53">byte_swap_32</a> (out[0]);</div><div class="line"><a name="l01155"></a><span class="lineno"> 1155</span>&#160;  out[1] = <a class="code" href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53">byte_swap_32</a> (out[1]);</div><div class="line"><a name="l01156"></a><span class="lineno"> 1156</span>&#160;  out[2] = <a class="code" href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53">byte_swap_32</a> (out[2]);</div><div class="line"><a name="l01157"></a><span class="lineno"> 1157</span>&#160;  out[3] = <a class="code" href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53">byte_swap_32</a> (out[3]);</div><div class="line"><a name="l01158"></a><span class="lineno"> 1158</span>&#160;}</div><div class="ttc" id="cpu__aes_8c_html_ad5ae162342c1d68fcc758c7b18a1dd9f"><div class="ttname"><a href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a></div><div class="ttdeci">static const u32 te2[256]</div><div class="ttdef"><b>Definition:</b> <a href="cpu__aes_8c_source.html#l00151">cpu_aes.c:151</a></div></div>
<div class="ttc" id="bitops_8c_html_a3a1120031ebc424b1407f5ac127bea53"><div class="ttname"><a href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53">byte_swap_32</a></div><div class="ttdeci">u32 byte_swap_32(const u32 n)</div><div class="ttdef"><b>Definition:</b> <a href="bitops_8c_source.html#l00046">bitops.c:46</a></div></div>
<div class="ttc" id="cpu__aes_8c_html_abb73c312ee40a4209626d4f21c468143"><div class="ttname"><a href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a></div><div class="ttdeci">static const u32 te3[256]</div><div class="ttdef"><b>Definition:</b> <a href="cpu__aes_8c_source.html#l00219">cpu_aes.c:219</a></div></div>
<div class="ttc" id="cpu__aes_8c_html_afa7a0b1d08a8186fb1e04559a24be830"><div class="ttname"><a href="cpu__aes_8c.html#afa7a0b1d08a8186fb1e04559a24be830">te4</a></div><div class="ttdeci">static const u32 te4[256]</div><div class="ttdef"><b>Definition:</b> <a href="cpu__aes_8c_source.html#l00287">cpu_aes.c:287</a></div></div>
<div class="ttc" id="cpu__aes_8c_html_abe6d8315cda39b19867a4d01c989159f"><div class="ttname"><a href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a></div><div class="ttdeci">static const u32 te0[256]</div><div class="ttdef"><b>Definition:</b> <a href="cpu__aes_8c_source.html#l00015">cpu_aes.c:15</a></div></div>
<div class="ttc" id="cpu__aes_8c_html_a1b98e3995706b271f5764fe9dd7e944e"><div class="ttname"><a href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a></div><div class="ttdeci">static const u32 te1[256]</div><div class="ttdef"><b>Definition:</b> <a href="cpu__aes_8c_source.html#l00083">cpu_aes.c:83</a></div></div>
</div><!-- fragment -->
<p class="reference">References <a class="el" href="bitops_8c_source.html#l00046">byte_swap_32()</a>, <a class="el" href="cpu__aes_8c_source.html#l00015">te0</a>, <a class="el" href="cpu__aes_8c_source.html#l00083">te1</a>, <a class="el" href="cpu__aes_8c_source.html#l00151">te2</a>, <a class="el" href="cpu__aes_8c_source.html#l00219">te3</a>, and <a class="el" href="cpu__aes_8c_source.html#l00287">te4</a>.</p>

<p class="reference">Referenced by <a class="el" href="cpu__aes_8c_source.html#l01296">AES_encrypt()</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="cpu__aes_8c_a39a856b5b90919bb4ca19c6192bbc8e1_cgraph.gif" border="0" usemap="#cpu__aes_8c_a39a856b5b90919bb4ca19c6192bbc8e1_cgraph" alt=""/></div>
<map name="cpu__aes_8c_a39a856b5b90919bb4ca19c6192bbc8e1_cgraph" id="cpu__aes_8c_a39a856b5b90919bb4ca19c6192bbc8e1_cgraph">
<area shape="rect"  title=" " alt="" coords="5,5,125,32"/>
<area shape="rect"  href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53" title=" " alt="" coords="173,5,279,32"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="cpu__aes_8c_a39a856b5b90919bb4ca19c6192bbc8e1_icgraph.gif" border="0" usemap="#cpu__aes_8c_a39a856b5b90919bb4ca19c6192bbc8e1_icgraph" alt=""/></div>
<map name="cpu__aes_8c_a39a856b5b90919bb4ca19c6192bbc8e1_icgraph" id="cpu__aes_8c_a39a856b5b90919bb4ca19c6192bbc8e1_icgraph">
<area shape="rect"  title=" " alt="" coords="152,5,272,32"/>
<area shape="rect"  href="cpu__aes_8c.html#ae8ae782c02c3599f297a3fd16ef6aaa3" title=" " alt="" coords="5,5,104,32"/>
</map>
</div>

</div>
</div>
<a id="a2343721a7729fdf1d2862ecf94175486"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2343721a7729fdf1d2862ecf94175486">&#9670;&nbsp;</a></span>AES256_ExpandKey()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void AES256_ExpandKey </td>
          <td>(</td>
          <td class="paramtype">const u32 *&#160;</td>
          <td class="paramname"><em>userkey</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32 *&#160;</td>
          <td class="paramname"><em>rek</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="cpu__aes_8c_source.html#l00957">957</a> of file <a class="el" href="cpu__aes_8c_source.html">cpu_aes.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00958"></a><span class="lineno">  958</span>&#160;{</div><div class="line"><a name="l00959"></a><span class="lineno">  959</span>&#160;  u32 userkey_s[8];</div><div class="line"><a name="l00960"></a><span class="lineno">  960</span>&#160;</div><div class="line"><a name="l00961"></a><span class="lineno">  961</span>&#160;  userkey_s[0] = <a class="code" href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53">byte_swap_32</a> (userkey[0]);</div><div class="line"><a name="l00962"></a><span class="lineno">  962</span>&#160;  userkey_s[1] = <a class="code" href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53">byte_swap_32</a> (userkey[1]);</div><div class="line"><a name="l00963"></a><span class="lineno">  963</span>&#160;  userkey_s[2] = <a class="code" href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53">byte_swap_32</a> (userkey[2]);</div><div class="line"><a name="l00964"></a><span class="lineno">  964</span>&#160;  userkey_s[3] = <a class="code" href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53">byte_swap_32</a> (userkey[3]);</div><div class="line"><a name="l00965"></a><span class="lineno">  965</span>&#160;  userkey_s[4] = <a class="code" href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53">byte_swap_32</a> (userkey[4]);</div><div class="line"><a name="l00966"></a><span class="lineno">  966</span>&#160;  userkey_s[5] = <a class="code" href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53">byte_swap_32</a> (userkey[5]);</div><div class="line"><a name="l00967"></a><span class="lineno">  967</span>&#160;  userkey_s[6] = <a class="code" href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53">byte_swap_32</a> (userkey[6]);</div><div class="line"><a name="l00968"></a><span class="lineno">  968</span>&#160;  userkey_s[7] = <a class="code" href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53">byte_swap_32</a> (userkey[7]);</div><div class="line"><a name="l00969"></a><span class="lineno">  969</span>&#160;</div><div class="line"><a name="l00970"></a><span class="lineno">  970</span>&#160;  rek[0] = userkey_s[0];</div><div class="line"><a name="l00971"></a><span class="lineno">  971</span>&#160;  rek[1] = userkey_s[1];</div><div class="line"><a name="l00972"></a><span class="lineno">  972</span>&#160;  rek[2] = userkey_s[2];</div><div class="line"><a name="l00973"></a><span class="lineno">  973</span>&#160;  rek[3] = userkey_s[3];</div><div class="line"><a name="l00974"></a><span class="lineno">  974</span>&#160;  rek[4] = userkey_s[4];</div><div class="line"><a name="l00975"></a><span class="lineno">  975</span>&#160;  rek[5] = userkey_s[5];</div><div class="line"><a name="l00976"></a><span class="lineno">  976</span>&#160;  rek[6] = userkey_s[6];</div><div class="line"><a name="l00977"></a><span class="lineno">  977</span>&#160;  rek[7] = userkey_s[7];</div><div class="line"><a name="l00978"></a><span class="lineno">  978</span>&#160;</div><div class="line"><a name="l00979"></a><span class="lineno">  979</span>&#160;  <span class="keywordtype">int</span> i;</div><div class="line"><a name="l00980"></a><span class="lineno">  980</span>&#160;  <span class="keywordtype">int</span> j;</div><div class="line"><a name="l00981"></a><span class="lineno">  981</span>&#160;</div><div class="line"><a name="l00982"></a><span class="lineno">  982</span>&#160;  i = 0;</div><div class="line"><a name="l00983"></a><span class="lineno">  983</span>&#160;  j = 0;</div><div class="line"><a name="l00984"></a><span class="lineno">  984</span>&#160;</div><div class="line"><a name="l00985"></a><span class="lineno">  985</span>&#160;  <span class="keywordflow">while</span> (1)</div><div class="line"><a name="l00986"></a><span class="lineno">  986</span>&#160;  {</div><div class="line"><a name="l00987"></a><span class="lineno">  987</span>&#160;    u32 temp = rek[j +  7];</div><div class="line"><a name="l00988"></a><span class="lineno">  988</span>&#160;</div><div class="line"><a name="l00989"></a><span class="lineno">  989</span>&#160;    rek[j +  8] = rek[j +  0]</div><div class="line"><a name="l00990"></a><span class="lineno">  990</span>&#160;           ^ (<a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(temp &gt;&gt; 16) &amp; 0xff] &amp; 0xff000000)</div><div class="line"><a name="l00991"></a><span class="lineno">  991</span>&#160;           ^ (<a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[(temp &gt;&gt;  8) &amp; 0xff] &amp; 0x00ff0000)</div><div class="line"><a name="l00992"></a><span class="lineno">  992</span>&#160;           ^ (<a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[(temp &gt;&gt;  0) &amp; 0xff] &amp; 0x0000ff00)</div><div class="line"><a name="l00993"></a><span class="lineno">  993</span>&#160;           ^ (<a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(temp &gt;&gt; 24) &amp; 0xff] &amp; 0x000000ff)</div><div class="line"><a name="l00994"></a><span class="lineno">  994</span>&#160;           ^ <a class="code" href="cpu__aes_8c.html#a142c09d3037444398e473812dde20e1e">rcon</a>[i];</div><div class="line"><a name="l00995"></a><span class="lineno">  995</span>&#160;</div><div class="line"><a name="l00996"></a><span class="lineno">  996</span>&#160;    rek[j +  9] = rek[j +  1] ^ rek[j +  8];</div><div class="line"><a name="l00997"></a><span class="lineno">  997</span>&#160;    rek[j + 10] = rek[j +  2] ^ rek[j +  9];</div><div class="line"><a name="l00998"></a><span class="lineno">  998</span>&#160;    rek[j + 11] = rek[j +  3] ^ rek[j + 10];</div><div class="line"><a name="l00999"></a><span class="lineno">  999</span>&#160;</div><div class="line"><a name="l01000"></a><span class="lineno"> 1000</span>&#160;    <span class="keywordflow">if</span> (++i == 7) <span class="keywordflow">break</span>;</div><div class="line"><a name="l01001"></a><span class="lineno"> 1001</span>&#160;</div><div class="line"><a name="l01002"></a><span class="lineno"> 1002</span>&#160;    temp = rek[j + 11];</div><div class="line"><a name="l01003"></a><span class="lineno"> 1003</span>&#160;</div><div class="line"><a name="l01004"></a><span class="lineno"> 1004</span>&#160;    rek[j + 12] = rek[j +  4]</div><div class="line"><a name="l01005"></a><span class="lineno"> 1005</span>&#160;           ^ (<a class="code" href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a>[(temp &gt;&gt; 24) &amp; 0xff] &amp; 0xff000000)</div><div class="line"><a name="l01006"></a><span class="lineno"> 1006</span>&#160;           ^ (<a class="code" href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a>[(temp &gt;&gt; 16) &amp; 0xff] &amp; 0x00ff0000)</div><div class="line"><a name="l01007"></a><span class="lineno"> 1007</span>&#160;           ^ (<a class="code" href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a>[(temp &gt;&gt;  8) &amp; 0xff] &amp; 0x0000ff00)</div><div class="line"><a name="l01008"></a><span class="lineno"> 1008</span>&#160;           ^ (<a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(temp &gt;&gt;  0) &amp; 0xff] &amp; 0x000000ff);</div><div class="line"><a name="l01009"></a><span class="lineno"> 1009</span>&#160;</div><div class="line"><a name="l01010"></a><span class="lineno"> 1010</span>&#160;    rek[j + 13] = rek[j +  5] ^ rek[j + 12];</div><div class="line"><a name="l01011"></a><span class="lineno"> 1011</span>&#160;    rek[j + 14] = rek[j +  6] ^ rek[j + 13];</div><div class="line"><a name="l01012"></a><span class="lineno"> 1012</span>&#160;    rek[j + 15] = rek[j +  7] ^ rek[j + 14];</div><div class="line"><a name="l01013"></a><span class="lineno"> 1013</span>&#160;</div><div class="line"><a name="l01014"></a><span class="lineno"> 1014</span>&#160;    j += 8;</div><div class="line"><a name="l01015"></a><span class="lineno"> 1015</span>&#160;  }</div><div class="line"><a name="l01016"></a><span class="lineno"> 1016</span>&#160;}</div><div class="ttc" id="cpu__aes_8c_html_a142c09d3037444398e473812dde20e1e"><div class="ttname"><a href="cpu__aes_8c.html#a142c09d3037444398e473812dde20e1e">rcon</a></div><div class="ttdeci">static const u32 rcon[]</div><div class="ttdef"><b>Definition:</b> <a href="cpu__aes_8c_source.html#l00695">cpu_aes.c:695</a></div></div>
<div class="ttc" id="cpu__aes_8c_html_ad5ae162342c1d68fcc758c7b18a1dd9f"><div class="ttname"><a href="cpu__aes_8c.html#ad5ae162342c1d68fcc758c7b18a1dd9f">te2</a></div><div class="ttdeci">static const u32 te2[256]</div><div class="ttdef"><b>Definition:</b> <a href="cpu__aes_8c_source.html#l00151">cpu_aes.c:151</a></div></div>
<div class="ttc" id="bitops_8c_html_a3a1120031ebc424b1407f5ac127bea53"><div class="ttname"><a href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53">byte_swap_32</a></div><div class="ttdeci">u32 byte_swap_32(const u32 n)</div><div class="ttdef"><b>Definition:</b> <a href="bitops_8c_source.html#l00046">bitops.c:46</a></div></div>
<div class="ttc" id="cpu__aes_8c_html_abb73c312ee40a4209626d4f21c468143"><div class="ttname"><a href="cpu__aes_8c.html#abb73c312ee40a4209626d4f21c468143">te3</a></div><div class="ttdeci">static const u32 te3[256]</div><div class="ttdef"><b>Definition:</b> <a href="cpu__aes_8c_source.html#l00219">cpu_aes.c:219</a></div></div>
<div class="ttc" id="cpu__aes_8c_html_abe6d8315cda39b19867a4d01c989159f"><div class="ttname"><a href="cpu__aes_8c.html#abe6d8315cda39b19867a4d01c989159f">te0</a></div><div class="ttdeci">static const u32 te0[256]</div><div class="ttdef"><b>Definition:</b> <a href="cpu__aes_8c_source.html#l00015">cpu_aes.c:15</a></div></div>
<div class="ttc" id="cpu__aes_8c_html_a1b98e3995706b271f5764fe9dd7e944e"><div class="ttname"><a href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a></div><div class="ttdeci">static const u32 te1[256]</div><div class="ttdef"><b>Definition:</b> <a href="cpu__aes_8c_source.html#l00083">cpu_aes.c:83</a></div></div>
</div><!-- fragment -->
<p class="reference">References <a class="el" href="bitops_8c_source.html#l00046">byte_swap_32()</a>, <a class="el" href="cpu__aes_8c_source.html#l00695">rcon</a>, <a class="el" href="cpu__aes_8c_source.html#l00015">te0</a>, <a class="el" href="cpu__aes_8c_source.html#l00083">te1</a>, <a class="el" href="cpu__aes_8c_source.html#l00151">te2</a>, and <a class="el" href="cpu__aes_8c_source.html#l00219">te3</a>.</p>

<p class="reference">Referenced by <a class="el" href="cpu__aes_8c_source.html#l01278">AES_set_decrypt_key()</a>, and <a class="el" href="cpu__aes_8c_source.html#l01264">AES_set_encrypt_key()</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="cpu__aes_8c_a2343721a7729fdf1d2862ecf94175486_cgraph.gif" border="0" usemap="#cpu__aes_8c_a2343721a7729fdf1d2862ecf94175486_cgraph" alt=""/></div>
<map name="cpu__aes_8c_a2343721a7729fdf1d2862ecf94175486_cgraph" id="cpu__aes_8c_a2343721a7729fdf1d2862ecf94175486_cgraph">
<area shape="rect"  title=" " alt="" coords="5,5,149,32"/>
<area shape="rect"  href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53" title=" " alt="" coords="197,5,303,32"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="cpu__aes_8c_a2343721a7729fdf1d2862ecf94175486_icgraph.gif" border="0" usemap="#cpu__aes_8c_a2343721a7729fdf1d2862ecf94175486_icgraph" alt=""/></div>
<map name="cpu__aes_8c_a2343721a7729fdf1d2862ecf94175486_icgraph" id="cpu__aes_8c_a2343721a7729fdf1d2862ecf94175486_icgraph">
<area shape="rect"  title=" " alt="" coords="595,31,739,57"/>
<area shape="rect"  href="cpu__aes_8c.html#add596e4998215dc0db9c79a5fc13da80" title=" " alt="" coords="395,5,547,32"/>
<area shape="rect"  href="cpu__aes_8c.html#aef0b794a5238227924fb5898cb8e93c3" title=" " alt="" coords="395,56,547,83"/>
<area shape="rect"  href="cpu__aes_8c.html#a65e37d05b00017f7d0c6fcd3b82746f2" title=" " alt="" coords="199,5,347,32"/>
<area shape="rect"  href="interface_8c.html#a665f1535d028c08e85a988055d5516f3" title=" " alt="" coords="5,5,151,32"/>
</map>
</div>

</div>
</div>
<a id="a5df01a65da03f2dcce2c4eaf91a00bfc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5df01a65da03f2dcce2c4eaf91a00bfc">&#9670;&nbsp;</a></span>AES256_InvertKey()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void AES256_InvertKey </td>
          <td>(</td>
          <td class="paramtype">u32 *&#160;</td>
          <td class="paramname"><em>rdk</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="cpu__aes_8c_source.html#l01018">1018</a> of file <a class="el" href="cpu__aes_8c_source.html">cpu_aes.c</a>.</p>
<div class="fragment"><div class="line"><a name="l01019"></a><span class="lineno"> 1019</span>&#160;{</div><div class="line"><a name="l01020"></a><span class="lineno"> 1020</span>&#160;  <span class="keywordflow">for</span> (u32 i = 0, j = 56; i &lt; j; i += 4, j -= 4)</div><div class="line"><a name="l01021"></a><span class="lineno"> 1021</span>&#160;  {</div><div class="line"><a name="l01022"></a><span class="lineno"> 1022</span>&#160;    u32 temp;</div><div class="line"><a name="l01023"></a><span class="lineno"> 1023</span>&#160;</div><div class="line"><a name="l01024"></a><span class="lineno"> 1024</span>&#160;    temp = rdk[i + 0]; rdk[i + 0] = rdk[j + 0]; rdk[j + 0] = temp;</div><div class="line"><a name="l01025"></a><span class="lineno"> 1025</span>&#160;    temp = rdk[i + 1]; rdk[i + 1] = rdk[j + 1]; rdk[j + 1] = temp;</div><div class="line"><a name="l01026"></a><span class="lineno"> 1026</span>&#160;    temp = rdk[i + 2]; rdk[i + 2] = rdk[j + 2]; rdk[j + 2] = temp;</div><div class="line"><a name="l01027"></a><span class="lineno"> 1027</span>&#160;    temp = rdk[i + 3]; rdk[i + 3] = rdk[j + 3]; rdk[j + 3] = temp;</div><div class="line"><a name="l01028"></a><span class="lineno"> 1028</span>&#160;  }</div><div class="line"><a name="l01029"></a><span class="lineno"> 1029</span>&#160;</div><div class="line"><a name="l01030"></a><span class="lineno"> 1030</span>&#160;  <span class="keywordflow">for</span> (u32 i = 1, j = 4; i &lt; 14; i += 1, j += 4)</div><div class="line"><a name="l01031"></a><span class="lineno"> 1031</span>&#160;  {</div><div class="line"><a name="l01032"></a><span class="lineno"> 1032</span>&#160;    rdk[j + 0] =</div><div class="line"><a name="l01033"></a><span class="lineno"> 1033</span>&#160;      <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[<a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(rdk[j + 0] &gt;&gt; 24) &amp; 0xff] &amp; 0xff] ^</div><div class="line"><a name="l01034"></a><span class="lineno"> 1034</span>&#160;      <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[<a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(rdk[j + 0] &gt;&gt; 16) &amp; 0xff] &amp; 0xff] ^</div><div class="line"><a name="l01035"></a><span class="lineno"> 1035</span>&#160;      <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[<a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(rdk[j + 0] &gt;&gt;  8) &amp; 0xff] &amp; 0xff] ^</div><div class="line"><a name="l01036"></a><span class="lineno"> 1036</span>&#160;      <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[<a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(rdk[j + 0] &gt;&gt;  0) &amp; 0xff] &amp; 0xff];</div><div class="line"><a name="l01037"></a><span class="lineno"> 1037</span>&#160;</div><div class="line"><a name="l01038"></a><span class="lineno"> 1038</span>&#160;    rdk[j + 1] =</div><div class="line"><a name="l01039"></a><span class="lineno"> 1039</span>&#160;      <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[<a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(rdk[j + 1] &gt;&gt; 24) &amp; 0xff] &amp; 0xff] ^</div><div class="line"><a name="l01040"></a><span class="lineno"> 1040</span>&#160;      <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[<a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(rdk[j + 1] &gt;&gt; 16) &amp; 0xff] &amp; 0xff] ^</div><div class="line"><a name="l01041"></a><span class="lineno"> 1041</span>&#160;      <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[<a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(rdk[j + 1] &gt;&gt;  8) &amp; 0xff] &amp; 0xff] ^</div><div class="line"><a name="l01042"></a><span class="lineno"> 1042</span>&#160;      <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[<a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(rdk[j + 1] &gt;&gt;  0) &amp; 0xff] &amp; 0xff];</div><div class="line"><a name="l01043"></a><span class="lineno"> 1043</span>&#160;</div><div class="line"><a name="l01044"></a><span class="lineno"> 1044</span>&#160;    rdk[j + 2] =</div><div class="line"><a name="l01045"></a><span class="lineno"> 1045</span>&#160;      <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[<a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(rdk[j + 2] &gt;&gt; 24) &amp; 0xff] &amp; 0xff] ^</div><div class="line"><a name="l01046"></a><span class="lineno"> 1046</span>&#160;      <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[<a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(rdk[j + 2] &gt;&gt; 16) &amp; 0xff] &amp; 0xff] ^</div><div class="line"><a name="l01047"></a><span class="lineno"> 1047</span>&#160;      <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[<a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(rdk[j + 2] &gt;&gt;  8) &amp; 0xff] &amp; 0xff] ^</div><div class="line"><a name="l01048"></a><span class="lineno"> 1048</span>&#160;      <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[<a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(rdk[j + 2] &gt;&gt;  0) &amp; 0xff] &amp; 0xff];</div><div class="line"><a name="l01049"></a><span class="lineno"> 1049</span>&#160;</div><div class="line"><a name="l01050"></a><span class="lineno"> 1050</span>&#160;    rdk[j + 3] =</div><div class="line"><a name="l01051"></a><span class="lineno"> 1051</span>&#160;      <a class="code" href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a>[<a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(rdk[j + 3] &gt;&gt; 24) &amp; 0xff] &amp; 0xff] ^</div><div class="line"><a name="l01052"></a><span class="lineno"> 1052</span>&#160;      <a class="code" href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a>[<a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(rdk[j + 3] &gt;&gt; 16) &amp; 0xff] &amp; 0xff] ^</div><div class="line"><a name="l01053"></a><span class="lineno"> 1053</span>&#160;      <a class="code" href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a>[<a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(rdk[j + 3] &gt;&gt;  8) &amp; 0xff] &amp; 0xff] ^</div><div class="line"><a name="l01054"></a><span class="lineno"> 1054</span>&#160;      <a class="code" href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a>[<a class="code" href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a>[(rdk[j + 3] &gt;&gt;  0) &amp; 0xff] &amp; 0xff];</div><div class="line"><a name="l01055"></a><span class="lineno"> 1055</span>&#160;  }</div><div class="line"><a name="l01056"></a><span class="lineno"> 1056</span>&#160;}</div><div class="ttc" id="cpu__aes_8c_html_af43aa5a19ee0e0f3fd612018fc4b4954"><div class="ttname"><a href="cpu__aes_8c.html#af43aa5a19ee0e0f3fd612018fc4b4954">td3</a></div><div class="ttdeci">static const u32 td3[256]</div><div class="ttdef"><b>Definition:</b> <a href="cpu__aes_8c_source.html#l00559">cpu_aes.c:559</a></div></div>
<div class="ttc" id="cpu__aes_8c_html_a16e7fe9e1bae06f027ba12f3eb57fa45"><div class="ttname"><a href="cpu__aes_8c.html#a16e7fe9e1bae06f027ba12f3eb57fa45">td1</a></div><div class="ttdeci">static const u32 td1[256]</div><div class="ttdef"><b>Definition:</b> <a href="cpu__aes_8c_source.html#l00423">cpu_aes.c:423</a></div></div>
<div class="ttc" id="cpu__aes_8c_html_a7fd70190b852028c9496bd3dd0eaae15"><div class="ttname"><a href="cpu__aes_8c.html#a7fd70190b852028c9496bd3dd0eaae15">td2</a></div><div class="ttdeci">static const u32 td2[256]</div><div class="ttdef"><b>Definition:</b> <a href="cpu__aes_8c_source.html#l00491">cpu_aes.c:491</a></div></div>
<div class="ttc" id="cpu__aes_8c_html_abb971dc857523f03da15f6c15e739b1b"><div class="ttname"><a href="cpu__aes_8c.html#abb971dc857523f03da15f6c15e739b1b">td0</a></div><div class="ttdeci">static const u32 td0[256]</div><div class="ttdef"><b>Definition:</b> <a href="cpu__aes_8c_source.html#l00355">cpu_aes.c:355</a></div></div>
<div class="ttc" id="cpu__aes_8c_html_a1b98e3995706b271f5764fe9dd7e944e"><div class="ttname"><a href="cpu__aes_8c.html#a1b98e3995706b271f5764fe9dd7e944e">te1</a></div><div class="ttdeci">static const u32 te1[256]</div><div class="ttdef"><b>Definition:</b> <a href="cpu__aes_8c_source.html#l00083">cpu_aes.c:83</a></div></div>
</div><!-- fragment -->
<p class="reference">References <a class="el" href="cpu__aes_8c_source.html#l00355">td0</a>, <a class="el" href="cpu__aes_8c_source.html#l00423">td1</a>, <a class="el" href="cpu__aes_8c_source.html#l00491">td2</a>, <a class="el" href="cpu__aes_8c_source.html#l00559">td3</a>, and <a class="el" href="cpu__aes_8c_source.html#l00083">te1</a>.</p>

<p class="reference">Referenced by <a class="el" href="cpu__aes_8c_source.html#l01278">AES_set_decrypt_key()</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="cpu__aes_8c_a5df01a65da03f2dcce2c4eaf91a00bfc_icgraph.gif" border="0" usemap="#cpu__aes_8c_a5df01a65da03f2dcce2c4eaf91a00bfc_icgraph" alt=""/></div>
<map name="cpu__aes_8c_a5df01a65da03f2dcce2c4eaf91a00bfc_icgraph" id="cpu__aes_8c_a5df01a65da03f2dcce2c4eaf91a00bfc_icgraph">
<area shape="rect"  title=" " alt="" coords="595,5,725,32"/>
<area shape="rect"  href="cpu__aes_8c.html#add596e4998215dc0db9c79a5fc13da80" title=" " alt="" coords="395,5,547,32"/>
<area shape="rect"  href="cpu__aes_8c.html#a65e37d05b00017f7d0c6fcd3b82746f2" title=" " alt="" coords="199,5,347,32"/>
<area shape="rect"  href="interface_8c.html#a665f1535d028c08e85a988055d5516f3" title=" " alt="" coords="5,5,151,32"/>
</map>
</div>

</div>
</div>
<a id="a87b4c9852a4f0da9860dec99079bb2fa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a87b4c9852a4f0da9860dec99079bb2fa">&#9670;&nbsp;</a></span>AES_decrypt()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void AES_decrypt </td>
          <td>(</td>
          <td class="paramtype">AES_KEY *&#160;</td>
          <td class="paramname"><em>aes_key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const u8 *&#160;</td>
          <td class="paramname"><em>input</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8 *&#160;</td>
          <td class="paramname"><em>output</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="cpu__aes_8c_source.html#l01308">1308</a> of file <a class="el" href="cpu__aes_8c_source.html">cpu_aes.c</a>.</p>
<div class="fragment"><div class="line"><a name="l01309"></a><span class="lineno"> 1309</span>&#160;{</div><div class="line"><a name="l01310"></a><span class="lineno"> 1310</span>&#160;  <span class="keywordflow">if</span> (aes_key-&gt;bits == 128)</div><div class="line"><a name="l01311"></a><span class="lineno"> 1311</span>&#160;  {</div><div class="line"><a name="l01312"></a><span class="lineno"> 1312</span>&#160;    <a class="code" href="cpu__aes_8c.html#a2447147d067d16f360deb84a10a82bd9">AES128_decrypt</a> ((<span class="keyword">const</span> u32 *) input, (u32 *) output, aes_key-&gt;rdk);</div><div class="line"><a name="l01313"></a><span class="lineno"> 1313</span>&#160;  }</div><div class="line"><a name="l01314"></a><span class="lineno"> 1314</span>&#160;  <span class="keywordflow">else</span> <span class="keywordflow">if</span> (aes_key-&gt;bits == 256)</div><div class="line"><a name="l01315"></a><span class="lineno"> 1315</span>&#160;  {</div><div class="line"><a name="l01316"></a><span class="lineno"> 1316</span>&#160;    <a class="code" href="cpu__aes_8c.html#a2b2311272dadc9dda7b2927a362d5132">AES256_decrypt</a> ((<span class="keyword">const</span> u32 *) input, (u32 *) output, aes_key-&gt;rdk);</div><div class="line"><a name="l01317"></a><span class="lineno"> 1317</span>&#160;  }</div><div class="line"><a name="l01318"></a><span class="lineno"> 1318</span>&#160;}</div><div class="ttc" id="cpu__aes_8c_html_a2b2311272dadc9dda7b2927a362d5132"><div class="ttname"><a href="cpu__aes_8c.html#a2b2311272dadc9dda7b2927a362d5132">AES256_decrypt</a></div><div class="ttdeci">static void AES256_decrypt(const u32 *in, u32 *out, const u32 *rdk)</div><div class="ttdef"><b>Definition:</b> <a href="cpu__aes_8c_source.html#l01160">cpu_aes.c:1160</a></div></div>
<div class="ttc" id="cpu__aes_8c_html_a2447147d067d16f360deb84a10a82bd9"><div class="ttname"><a href="cpu__aes_8c.html#a2447147d067d16f360deb84a10a82bd9">AES128_decrypt</a></div><div class="ttdeci">static void AES128_decrypt(const u32 *in, u32 *out, const u32 *rdk)</div><div class="ttdef"><b>Definition:</b> <a href="cpu__aes_8c_source.html#l00869">cpu_aes.c:869</a></div></div>
</div><!-- fragment -->
<p class="reference">References <a class="el" href="cpu__aes_8c_source.html#l00869">AES128_decrypt()</a>, and <a class="el" href="cpu__aes_8c_source.html#l01160">AES256_decrypt()</a>.</p>

<p class="reference">Referenced by <a class="el" href="cpu__aes_8c_source.html#l01322">AES128_decrypt_cbc()</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="cpu__aes_8c_a87b4c9852a4f0da9860dec99079bb2fa_cgraph.gif" border="0" usemap="#cpu__aes_8c_a87b4c9852a4f0da9860dec99079bb2fa_cgraph" alt=""/></div>
<map name="cpu__aes_8c_a87b4c9852a4f0da9860dec99079bb2fa_cgraph" id="cpu__aes_8c_a87b4c9852a4f0da9860dec99079bb2fa_cgraph">
<area shape="rect"  title=" " alt="" coords="5,31,104,57"/>
<area shape="rect"  href="cpu__aes_8c.html#a2447147d067d16f360deb84a10a82bd9" title=" " alt="" coords="152,5,272,32"/>
<area shape="rect"  href="cpu__aes_8c.html#a2b2311272dadc9dda7b2927a362d5132" title=" " alt="" coords="152,56,272,83"/>
<area shape="rect"  href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53" title=" " alt="" coords="320,31,425,57"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="cpu__aes_8c_a87b4c9852a4f0da9860dec99079bb2fa_icgraph.gif" border="0" usemap="#cpu__aes_8c_a87b4c9852a4f0da9860dec99079bb2fa_icgraph" alt=""/></div>
<map name="cpu__aes_8c_a87b4c9852a4f0da9860dec99079bb2fa_icgraph" id="cpu__aes_8c_a87b4c9852a4f0da9860dec99079bb2fa_icgraph">
<area shape="rect"  title=" " alt="" coords="395,5,493,32"/>
<area shape="rect"  href="cpu__aes_8c.html#a65e37d05b00017f7d0c6fcd3b82746f2" title=" " alt="" coords="199,5,347,32"/>
<area shape="rect"  href="interface_8c.html#a665f1535d028c08e85a988055d5516f3" title=" " alt="" coords="5,5,151,32"/>
</map>
</div>

</div>
</div>
<a id="ae8ae782c02c3599f297a3fd16ef6aaa3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae8ae782c02c3599f297a3fd16ef6aaa3">&#9670;&nbsp;</a></span>AES_encrypt()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void AES_encrypt </td>
          <td>(</td>
          <td class="paramtype">AES_KEY *&#160;</td>
          <td class="paramname"><em>aes_key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const u8 *&#160;</td>
          <td class="paramname"><em>input</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8 *&#160;</td>
          <td class="paramname"><em>output</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="cpu__aes_8c_source.html#l01296">1296</a> of file <a class="el" href="cpu__aes_8c_source.html">cpu_aes.c</a>.</p>
<div class="fragment"><div class="line"><a name="l01297"></a><span class="lineno"> 1297</span>&#160;{</div><div class="line"><a name="l01298"></a><span class="lineno"> 1298</span>&#160;  <span class="keywordflow">if</span> (aes_key-&gt;bits == 128)</div><div class="line"><a name="l01299"></a><span class="lineno"> 1299</span>&#160;  {</div><div class="line"><a name="l01300"></a><span class="lineno"> 1300</span>&#160;    <a class="code" href="cpu__aes_8c.html#a2abc0376835c0bf94005a2ca8c02d22a">AES128_encrypt</a> ((<span class="keyword">const</span> u32 *) input, (u32 *) output, aes_key-&gt;rek);</div><div class="line"><a name="l01301"></a><span class="lineno"> 1301</span>&#160;  }</div><div class="line"><a name="l01302"></a><span class="lineno"> 1302</span>&#160;  <span class="keywordflow">else</span> <span class="keywordflow">if</span> (aes_key-&gt;bits == 256)</div><div class="line"><a name="l01303"></a><span class="lineno"> 1303</span>&#160;  {</div><div class="line"><a name="l01304"></a><span class="lineno"> 1304</span>&#160;    <a class="code" href="cpu__aes_8c.html#a39a856b5b90919bb4ca19c6192bbc8e1">AES256_encrypt</a> ((<span class="keyword">const</span> u32 *) input, (u32 *) output, aes_key-&gt;rek);</div><div class="line"><a name="l01305"></a><span class="lineno"> 1305</span>&#160;  }</div><div class="line"><a name="l01306"></a><span class="lineno"> 1306</span>&#160;}</div><div class="ttc" id="cpu__aes_8c_html_a39a856b5b90919bb4ca19c6192bbc8e1"><div class="ttname"><a href="cpu__aes_8c.html#a39a856b5b90919bb4ca19c6192bbc8e1">AES256_encrypt</a></div><div class="ttdeci">static void AES256_encrypt(const u32 *in, u32 *out, const u32 *rek)</div><div class="ttdef"><b>Definition:</b> <a href="cpu__aes_8c_source.html#l01058">cpu_aes.c:1058</a></div></div>
<div class="ttc" id="cpu__aes_8c_html_a2abc0376835c0bf94005a2ca8c02d22a"><div class="ttname"><a href="cpu__aes_8c.html#a2abc0376835c0bf94005a2ca8c02d22a">AES128_encrypt</a></div><div class="ttdeci">static void AES128_encrypt(const u32 *in, u32 *out, const u32 *rek)</div><div class="ttdef"><b>Definition:</b> <a href="cpu__aes_8c_source.html#l00783">cpu_aes.c:783</a></div></div>
</div><!-- fragment -->
<p class="reference">References <a class="el" href="cpu__aes_8c_source.html#l00783">AES128_encrypt()</a>, and <a class="el" href="cpu__aes_8c_source.html#l01058">AES256_encrypt()</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="cpu__aes_8c_ae8ae782c02c3599f297a3fd16ef6aaa3_cgraph.gif" border="0" usemap="#cpu__aes_8c_ae8ae782c02c3599f297a3fd16ef6aaa3_cgraph" alt=""/></div>
<map name="cpu__aes_8c_ae8ae782c02c3599f297a3fd16ef6aaa3_cgraph" id="cpu__aes_8c_ae8ae782c02c3599f297a3fd16ef6aaa3_cgraph">
<area shape="rect"  title=" " alt="" coords="5,31,104,57"/>
<area shape="rect"  href="cpu__aes_8c.html#a2abc0376835c0bf94005a2ca8c02d22a" title=" " alt="" coords="152,5,272,32"/>
<area shape="rect"  href="cpu__aes_8c.html#a39a856b5b90919bb4ca19c6192bbc8e1" title=" " alt="" coords="152,56,272,83"/>
<area shape="rect"  href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53" title=" " alt="" coords="320,31,425,57"/>
</map>
</div>

</div>
</div>
<a id="add596e4998215dc0db9c79a5fc13da80"></a>
<h2 class="memtitle"><span class="permalink"><a href="#add596e4998215dc0db9c79a5fc13da80">&#9670;&nbsp;</a></span>AES_set_decrypt_key()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void AES_set_decrypt_key </td>
          <td>(</td>
          <td class="paramtype">const u8 *&#160;</td>
          <td class="paramname"><em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>keysize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">AES_KEY *&#160;</td>
          <td class="paramname"><em>aes_key</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="cpu__aes_8c_source.html#l01278">1278</a> of file <a class="el" href="cpu__aes_8c_source.html">cpu_aes.c</a>.</p>
<div class="fragment"><div class="line"><a name="l01279"></a><span class="lineno"> 1279</span>&#160;{</div><div class="line"><a name="l01280"></a><span class="lineno"> 1280</span>&#160;  aes_key-&gt;bits = keysize;</div><div class="line"><a name="l01281"></a><span class="lineno"> 1281</span>&#160;</div><div class="line"><a name="l01282"></a><span class="lineno"> 1282</span>&#160;  <span class="keywordflow">if</span> (aes_key-&gt;bits == 128)</div><div class="line"><a name="l01283"></a><span class="lineno"> 1283</span>&#160;  {</div><div class="line"><a name="l01284"></a><span class="lineno"> 1284</span>&#160;    <a class="code" href="cpu__aes_8c.html#a85cad27d2b8e0825743e1a3fa9cf9495">AES128_ExpandKey</a> ((<span class="keyword">const</span> u32 *) key, aes_key-&gt;rdk);</div><div class="line"><a name="l01285"></a><span class="lineno"> 1285</span>&#160;</div><div class="line"><a name="l01286"></a><span class="lineno"> 1286</span>&#160;    <a class="code" href="cpu__aes_8c.html#a5d4f985e71b46b56ebef6605b0131eb0">AES128_InvertKey</a> (aes_key-&gt;rdk);</div><div class="line"><a name="l01287"></a><span class="lineno"> 1287</span>&#160;  }</div><div class="line"><a name="l01288"></a><span class="lineno"> 1288</span>&#160;  <span class="keywordflow">else</span> <span class="keywordflow">if</span> (aes_key-&gt;bits == 256)</div><div class="line"><a name="l01289"></a><span class="lineno"> 1289</span>&#160;  {</div><div class="line"><a name="l01290"></a><span class="lineno"> 1290</span>&#160;    <a class="code" href="cpu__aes_8c.html#a2343721a7729fdf1d2862ecf94175486">AES256_ExpandKey</a> ((<span class="keyword">const</span> u32 *) key, aes_key-&gt;rdk);</div><div class="line"><a name="l01291"></a><span class="lineno"> 1291</span>&#160;</div><div class="line"><a name="l01292"></a><span class="lineno"> 1292</span>&#160;    <a class="code" href="cpu__aes_8c.html#a5df01a65da03f2dcce2c4eaf91a00bfc">AES256_InvertKey</a> (aes_key-&gt;rdk);</div><div class="line"><a name="l01293"></a><span class="lineno"> 1293</span>&#160;  }</div><div class="line"><a name="l01294"></a><span class="lineno"> 1294</span>&#160;}</div><div class="ttc" id="cpu__aes_8c_html_a5df01a65da03f2dcce2c4eaf91a00bfc"><div class="ttname"><a href="cpu__aes_8c.html#a5df01a65da03f2dcce2c4eaf91a00bfc">AES256_InvertKey</a></div><div class="ttdeci">static void AES256_InvertKey(u32 *rdk)</div><div class="ttdef"><b>Definition:</b> <a href="cpu__aes_8c_source.html#l01018">cpu_aes.c:1018</a></div></div>
<div class="ttc" id="cpu__aes_8c_html_a5d4f985e71b46b56ebef6605b0131eb0"><div class="ttname"><a href="cpu__aes_8c.html#a5d4f985e71b46b56ebef6605b0131eb0">AES128_InvertKey</a></div><div class="ttdeci">static void AES128_InvertKey(u32 *rdk)</div><div class="ttdef"><b>Definition:</b> <a href="cpu__aes_8c_source.html#l00740">cpu_aes.c:740</a></div></div>
<div class="ttc" id="cpu__aes_8c_html_a85cad27d2b8e0825743e1a3fa9cf9495"><div class="ttname"><a href="cpu__aes_8c.html#a85cad27d2b8e0825743e1a3fa9cf9495">AES128_ExpandKey</a></div><div class="ttdeci">static void AES128_ExpandKey(const u32 *userkey, u32 *rek)</div><div class="ttdef"><b>Definition:</b> <a href="cpu__aes_8c_source.html#l00704">cpu_aes.c:704</a></div></div>
<div class="ttc" id="cpu__aes_8c_html_a2343721a7729fdf1d2862ecf94175486"><div class="ttname"><a href="cpu__aes_8c.html#a2343721a7729fdf1d2862ecf94175486">AES256_ExpandKey</a></div><div class="ttdeci">static void AES256_ExpandKey(const u32 *userkey, u32 *rek)</div><div class="ttdef"><b>Definition:</b> <a href="cpu__aes_8c_source.html#l00957">cpu_aes.c:957</a></div></div>
</div><!-- fragment -->
<p class="reference">References <a class="el" href="cpu__aes_8c_source.html#l00704">AES128_ExpandKey()</a>, <a class="el" href="cpu__aes_8c_source.html#l00740">AES128_InvertKey()</a>, <a class="el" href="cpu__aes_8c_source.html#l00957">AES256_ExpandKey()</a>, and <a class="el" href="cpu__aes_8c_source.html#l01018">AES256_InvertKey()</a>.</p>

<p class="reference">Referenced by <a class="el" href="cpu__aes_8c_source.html#l01322">AES128_decrypt_cbc()</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="cpu__aes_8c_add596e4998215dc0db9c79a5fc13da80_cgraph.gif" border="0" usemap="#cpu__aes_8c_add596e4998215dc0db9c79a5fc13da80_cgraph" alt=""/></div>
<map name="cpu__aes_8c_add596e4998215dc0db9c79a5fc13da80_cgraph" id="cpu__aes_8c_add596e4998215dc0db9c79a5fc13da80_cgraph">
<area shape="rect"  title=" " alt="" coords="5,81,157,108"/>
<area shape="rect"  href="cpu__aes_8c.html#a85cad27d2b8e0825743e1a3fa9cf9495" title=" " alt="" coords="205,5,349,32"/>
<area shape="rect"  href="cpu__aes_8c.html#a5d4f985e71b46b56ebef6605b0131eb0" title=" " alt="" coords="212,56,343,83"/>
<area shape="rect"  href="cpu__aes_8c.html#a2343721a7729fdf1d2862ecf94175486" title=" " alt="" coords="205,107,349,133"/>
<area shape="rect"  href="cpu__aes_8c.html#a5df01a65da03f2dcce2c4eaf91a00bfc" title=" " alt="" coords="212,157,343,184"/>
<area shape="rect"  href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53" title=" " alt="" coords="397,56,503,83"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="cpu__aes_8c_add596e4998215dc0db9c79a5fc13da80_icgraph.gif" border="0" usemap="#cpu__aes_8c_add596e4998215dc0db9c79a5fc13da80_icgraph" alt=""/></div>
<map name="cpu__aes_8c_add596e4998215dc0db9c79a5fc13da80_icgraph" id="cpu__aes_8c_add596e4998215dc0db9c79a5fc13da80_icgraph">
<area shape="rect"  title=" " alt="" coords="395,5,547,32"/>
<area shape="rect"  href="cpu__aes_8c.html#a65e37d05b00017f7d0c6fcd3b82746f2" title=" " alt="" coords="199,5,347,32"/>
<area shape="rect"  href="interface_8c.html#a665f1535d028c08e85a988055d5516f3" title=" " alt="" coords="5,5,151,32"/>
</map>
</div>

</div>
</div>
<a id="aef0b794a5238227924fb5898cb8e93c3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aef0b794a5238227924fb5898cb8e93c3">&#9670;&nbsp;</a></span>AES_set_encrypt_key()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void AES_set_encrypt_key </td>
          <td>(</td>
          <td class="paramtype">const u8 *&#160;</td>
          <td class="paramname"><em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>keysize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">AES_KEY *&#160;</td>
          <td class="paramname"><em>aes_key</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="cpu__aes_8c_source.html#l01264">1264</a> of file <a class="el" href="cpu__aes_8c_source.html">cpu_aes.c</a>.</p>
<div class="fragment"><div class="line"><a name="l01265"></a><span class="lineno"> 1265</span>&#160;{</div><div class="line"><a name="l01266"></a><span class="lineno"> 1266</span>&#160;  aes_key-&gt;bits = keysize;</div><div class="line"><a name="l01267"></a><span class="lineno"> 1267</span>&#160;</div><div class="line"><a name="l01268"></a><span class="lineno"> 1268</span>&#160;  <span class="keywordflow">if</span> (aes_key-&gt;bits == 128)</div><div class="line"><a name="l01269"></a><span class="lineno"> 1269</span>&#160;  {</div><div class="line"><a name="l01270"></a><span class="lineno"> 1270</span>&#160;    <a class="code" href="cpu__aes_8c.html#a85cad27d2b8e0825743e1a3fa9cf9495">AES128_ExpandKey</a> ((<span class="keyword">const</span> u32 *) key, aes_key-&gt;rek);</div><div class="line"><a name="l01271"></a><span class="lineno"> 1271</span>&#160;  }</div><div class="line"><a name="l01272"></a><span class="lineno"> 1272</span>&#160;  <span class="keywordflow">else</span> <span class="keywordflow">if</span> (aes_key-&gt;bits == 256)</div><div class="line"><a name="l01273"></a><span class="lineno"> 1273</span>&#160;  {</div><div class="line"><a name="l01274"></a><span class="lineno"> 1274</span>&#160;    <a class="code" href="cpu__aes_8c.html#a2343721a7729fdf1d2862ecf94175486">AES256_ExpandKey</a> ((<span class="keyword">const</span> u32 *) key, aes_key-&gt;rek);</div><div class="line"><a name="l01275"></a><span class="lineno"> 1275</span>&#160;  }</div><div class="line"><a name="l01276"></a><span class="lineno"> 1276</span>&#160;}</div><div class="ttc" id="cpu__aes_8c_html_a85cad27d2b8e0825743e1a3fa9cf9495"><div class="ttname"><a href="cpu__aes_8c.html#a85cad27d2b8e0825743e1a3fa9cf9495">AES128_ExpandKey</a></div><div class="ttdeci">static void AES128_ExpandKey(const u32 *userkey, u32 *rek)</div><div class="ttdef"><b>Definition:</b> <a href="cpu__aes_8c_source.html#l00704">cpu_aes.c:704</a></div></div>
<div class="ttc" id="cpu__aes_8c_html_a2343721a7729fdf1d2862ecf94175486"><div class="ttname"><a href="cpu__aes_8c.html#a2343721a7729fdf1d2862ecf94175486">AES256_ExpandKey</a></div><div class="ttdeci">static void AES256_ExpandKey(const u32 *userkey, u32 *rek)</div><div class="ttdef"><b>Definition:</b> <a href="cpu__aes_8c_source.html#l00957">cpu_aes.c:957</a></div></div>
</div><!-- fragment -->
<p class="reference">References <a class="el" href="cpu__aes_8c_source.html#l00704">AES128_ExpandKey()</a>, and <a class="el" href="cpu__aes_8c_source.html#l00957">AES256_ExpandKey()</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="cpu__aes_8c_aef0b794a5238227924fb5898cb8e93c3_cgraph.gif" border="0" usemap="#cpu__aes_8c_aef0b794a5238227924fb5898cb8e93c3_cgraph" alt=""/></div>
<map name="cpu__aes_8c_aef0b794a5238227924fb5898cb8e93c3_cgraph" id="cpu__aes_8c_aef0b794a5238227924fb5898cb8e93c3_cgraph">
<area shape="rect"  title=" " alt="" coords="5,31,157,57"/>
<area shape="rect"  href="cpu__aes_8c.html#a85cad27d2b8e0825743e1a3fa9cf9495" title=" " alt="" coords="205,5,349,32"/>
<area shape="rect"  href="cpu__aes_8c.html#a2343721a7729fdf1d2862ecf94175486" title=" " alt="" coords="205,56,349,83"/>
<area shape="rect"  href="bitops_8c.html#a3a1120031ebc424b1407f5ac127bea53" title=" " alt="" coords="397,31,503,57"/>
</map>
</div>

</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a id="a142c09d3037444398e473812dde20e1e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a142c09d3037444398e473812dde20e1e">&#9670;&nbsp;</a></span>rcon</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const u32 rcon[]</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<b>Initial value:</b><div class="fragment"><div class="line">=</div><div class="line">{</div><div class="line">  0x01000000, 0x02000000, 0x04000000, 0x08000000,</div><div class="line">  0x10000000, 0x20000000, 0x40000000, 0x80000000,</div><div class="line">  0x1b000000, 0x36000000,</div><div class="line">}</div></div><!-- fragment -->
<p class="definition">Definition at line <a class="el" href="cpu__aes_8c_source.html#l00695">695</a> of file <a class="el" href="cpu__aes_8c_source.html">cpu_aes.c</a>.</p>

<p class="reference">Referenced by <a class="el" href="cpu__aes_8c_source.html#l00704">AES128_ExpandKey()</a>, and <a class="el" href="cpu__aes_8c_source.html#l00957">AES256_ExpandKey()</a>.</p>

</div>
</div>
<a id="abb971dc857523f03da15f6c15e739b1b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abb971dc857523f03da15f6c15e739b1b">&#9670;&nbsp;</a></span>td0</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const u32 td0[256]</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="cpu__aes_8c_source.html#l00355">355</a> of file <a class="el" href="cpu__aes_8c_source.html">cpu_aes.c</a>.</p>

<p class="reference">Referenced by <a class="el" href="cpu__aes_8c_source.html#l00869">AES128_decrypt()</a>, <a class="el" href="cpu__aes_8c_source.html#l00740">AES128_InvertKey()</a>, <a class="el" href="cpu__aes_8c_source.html#l01160">AES256_decrypt()</a>, and <a class="el" href="cpu__aes_8c_source.html#l01018">AES256_InvertKey()</a>.</p>

</div>
</div>
<a id="a16e7fe9e1bae06f027ba12f3eb57fa45"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a16e7fe9e1bae06f027ba12f3eb57fa45">&#9670;&nbsp;</a></span>td1</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const u32 td1[256]</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="cpu__aes_8c_source.html#l00423">423</a> of file <a class="el" href="cpu__aes_8c_source.html">cpu_aes.c</a>.</p>

<p class="reference">Referenced by <a class="el" href="cpu__aes_8c_source.html#l00869">AES128_decrypt()</a>, <a class="el" href="cpu__aes_8c_source.html#l00740">AES128_InvertKey()</a>, <a class="el" href="cpu__aes_8c_source.html#l01160">AES256_decrypt()</a>, and <a class="el" href="cpu__aes_8c_source.html#l01018">AES256_InvertKey()</a>.</p>

</div>
</div>
<a id="a7fd70190b852028c9496bd3dd0eaae15"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7fd70190b852028c9496bd3dd0eaae15">&#9670;&nbsp;</a></span>td2</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const u32 td2[256]</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="cpu__aes_8c_source.html#l00491">491</a> of file <a class="el" href="cpu__aes_8c_source.html">cpu_aes.c</a>.</p>

<p class="reference">Referenced by <a class="el" href="cpu__aes_8c_source.html#l00869">AES128_decrypt()</a>, <a class="el" href="cpu__aes_8c_source.html#l00740">AES128_InvertKey()</a>, <a class="el" href="cpu__aes_8c_source.html#l01160">AES256_decrypt()</a>, and <a class="el" href="cpu__aes_8c_source.html#l01018">AES256_InvertKey()</a>.</p>

</div>
</div>
<a id="af43aa5a19ee0e0f3fd612018fc4b4954"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af43aa5a19ee0e0f3fd612018fc4b4954">&#9670;&nbsp;</a></span>td3</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const u32 td3[256]</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="cpu__aes_8c_source.html#l00559">559</a> of file <a class="el" href="cpu__aes_8c_source.html">cpu_aes.c</a>.</p>

<p class="reference">Referenced by <a class="el" href="cpu__aes_8c_source.html#l00869">AES128_decrypt()</a>, <a class="el" href="cpu__aes_8c_source.html#l00740">AES128_InvertKey()</a>, <a class="el" href="cpu__aes_8c_source.html#l01160">AES256_decrypt()</a>, and <a class="el" href="cpu__aes_8c_source.html#l01018">AES256_InvertKey()</a>.</p>

</div>
</div>
<a id="aa1b05bd5f09a45fcccef57007582c215"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa1b05bd5f09a45fcccef57007582c215">&#9670;&nbsp;</a></span>td4</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const u32 td4[256]</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="cpu__aes_8c_source.html#l00627">627</a> of file <a class="el" href="cpu__aes_8c_source.html">cpu_aes.c</a>.</p>

<p class="reference">Referenced by <a class="el" href="cpu__aes_8c_source.html#l00869">AES128_decrypt()</a>, and <a class="el" href="cpu__aes_8c_source.html#l01160">AES256_decrypt()</a>.</p>

</div>
</div>
<a id="abe6d8315cda39b19867a4d01c989159f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abe6d8315cda39b19867a4d01c989159f">&#9670;&nbsp;</a></span>te0</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const u32 te0[256]</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="cpu__aes_8c_source.html#l00015">15</a> of file <a class="el" href="cpu__aes_8c_source.html">cpu_aes.c</a>.</p>

<p class="reference">Referenced by <a class="el" href="cpu__aes_8c_source.html#l00783">AES128_encrypt()</a>, <a class="el" href="cpu__aes_8c_source.html#l00704">AES128_ExpandKey()</a>, <a class="el" href="cpu__aes_8c_source.html#l01058">AES256_encrypt()</a>, and <a class="el" href="cpu__aes_8c_source.html#l00957">AES256_ExpandKey()</a>.</p>

</div>
</div>
<a id="a1b98e3995706b271f5764fe9dd7e944e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1b98e3995706b271f5764fe9dd7e944e">&#9670;&nbsp;</a></span>te1</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const u32 te1[256]</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="cpu__aes_8c_source.html#l00083">83</a> of file <a class="el" href="cpu__aes_8c_source.html">cpu_aes.c</a>.</p>

<p class="reference">Referenced by <a class="el" href="cpu__aes_8c_source.html#l00783">AES128_encrypt()</a>, <a class="el" href="cpu__aes_8c_source.html#l00704">AES128_ExpandKey()</a>, <a class="el" href="cpu__aes_8c_source.html#l00740">AES128_InvertKey()</a>, <a class="el" href="cpu__aes_8c_source.html#l01058">AES256_encrypt()</a>, <a class="el" href="cpu__aes_8c_source.html#l00957">AES256_ExpandKey()</a>, and <a class="el" href="cpu__aes_8c_source.html#l01018">AES256_InvertKey()</a>.</p>

</div>
</div>
<a id="ad5ae162342c1d68fcc758c7b18a1dd9f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad5ae162342c1d68fcc758c7b18a1dd9f">&#9670;&nbsp;</a></span>te2</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const u32 te2[256]</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="cpu__aes_8c_source.html#l00151">151</a> of file <a class="el" href="cpu__aes_8c_source.html">cpu_aes.c</a>.</p>

<p class="reference">Referenced by <a class="el" href="cpu__aes_8c_source.html#l00783">AES128_encrypt()</a>, <a class="el" href="cpu__aes_8c_source.html#l00704">AES128_ExpandKey()</a>, <a class="el" href="cpu__aes_8c_source.html#l01058">AES256_encrypt()</a>, and <a class="el" href="cpu__aes_8c_source.html#l00957">AES256_ExpandKey()</a>.</p>

</div>
</div>
<a id="abb73c312ee40a4209626d4f21c468143"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abb73c312ee40a4209626d4f21c468143">&#9670;&nbsp;</a></span>te3</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const u32 te3[256]</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="cpu__aes_8c_source.html#l00219">219</a> of file <a class="el" href="cpu__aes_8c_source.html">cpu_aes.c</a>.</p>

<p class="reference">Referenced by <a class="el" href="cpu__aes_8c_source.html#l00783">AES128_encrypt()</a>, <a class="el" href="cpu__aes_8c_source.html#l00704">AES128_ExpandKey()</a>, <a class="el" href="cpu__aes_8c_source.html#l01058">AES256_encrypt()</a>, and <a class="el" href="cpu__aes_8c_source.html#l00957">AES256_ExpandKey()</a>.</p>

</div>
</div>
<a id="afa7a0b1d08a8186fb1e04559a24be830"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afa7a0b1d08a8186fb1e04559a24be830">&#9670;&nbsp;</a></span>te4</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const u32 te4[256]</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="cpu__aes_8c_source.html#l00287">287</a> of file <a class="el" href="cpu__aes_8c_source.html">cpu_aes.c</a>.</p>

<p class="reference">Referenced by <a class="el" href="cpu__aes_8c_source.html#l00783">AES128_encrypt()</a>, and <a class="el" href="cpu__aes_8c_source.html#l01058">AES256_encrypt()</a>.</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>
